Repository navigation
도메인 모델 정렬 및 UI/UX 원안(Figma) 복구 (Issue #180) #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
81a971e
docs: add plan for provider edit/delete in settings UI
seonghobae 23766f2
feat(frontend): support edit and delete operations for LLM providers …
seonghobae 4870a2b
fix(frontend): handle 204 response in PUT and fix success message
seonghobae 417e5a0
docs: formalize domain model realignment for organization, mailbox, a…
seonghobae 952c0b9
fix(frontend): realign UI with original UX mockups and clear settings…
seonghobae 5547515
fix(frontend): resolve layout styling conflicts and orphaned imports …
seonghobae 9292c74
chore: trigger fresh coderabbit review
seonghobae 4a60c7c
feat(frontend): implement comprehensive settings UI with unified RBAC…
seonghobae b38ccea
feat(frontend): add tabs component
seonghobae 403eb1c
feat(frontend): expand settings domain for workspace config and resol…
seonghobae 660149b
build(deps): install radix tabs dependency
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # Naruon Domain Model Realignment | ||
|
|
||
| ## Overview | ||
| Previous implementations (T-004, T-005, T-006) introduced generic features (`/ai-hub`, `/prompt-studio`, `/settings`) that drifted away from the core UI/UX mocks and created ambiguous bounded contexts for Identity, Tenant configuration, and Self-hosted runner topologies. | ||
|
|
||
| This document realigns the Ubiquitous Language and Bounded Contexts. | ||
|
|
||
| ## Bounded Contexts | ||
|
|
||
| ### 1. Identity & Organization Context | ||
| - **Organization (Workspace):** Represents a corporate entity. Billing and data isolation occur at this level. | ||
| - **Organization Admin:** A user with privileges to configure Organization-wide integrations (SSO, Org-wide LLM providers like BYOK, Enterprise Self-hosted runner tokens). | ||
| - **Member:** A standard user within an Organization. | ||
| - *Previous Error:* "Admin" was used as a generic string across the app without distinguishing System Admin (Naruon SaaS owner) vs. Organization Admin. | ||
|
|
||
| ### 2. Provider Integration Context (BYOK & LLM) | ||
| - **Bring Your Own Key (BYOK):** Organizations can supply their own OpenAI/Anthropic/Gemini keys. | ||
| - **Naruon Managed LLM:** A fallback/default if the Organization pays Naruon directly. | ||
| - *Previous Error:* The `/settings` UI allowed any user to create "Providers" globally, lacking Workspace/Organization bounding. | ||
|
|
||
| ### 3. Mailbox Configuration Context | ||
| - **Mailbox (Email Account):** Belongs to a Member. A Member can have multiple Mailboxes (e.g., Google, Outlook, Custom IMAP/SMTP). | ||
| - *Previous Error:* The app provided no UI for users to configure their IMAP/SMTP credentials. | ||
|
|
||
| ### 4. Runner Topology Context | ||
| - **Self-Hosted Runner (Relay Proxy):** A stateless agent deployed within a corporate intranet to route IMAP/SMTP traffic securely without exposing the intranet to the public internet. | ||
| - **Topology:** The runner connects outbound to Naruon (via WebSocket or gRPC tunnel) and routes traffic to the internal Mail Server. It is bound to an Organization. | ||
| - *Previous Error:* Runner boundaries were documented but not tied to the Organization context UI. | ||
|
|
||
| ## Ubiquitous Language & Frontend Nav | ||
| The Frontend layout MUST strictly adhere to the provided Figma/UI UX mockups (`frontend/branding/uiux/uiux4.png`). | ||
| - **Mail Actions:** 메일 작성 | ||
| - **Mail Navigation:** 받은 메일, 중요 메일, 보낸 메일, 임시 보관함, 전체 메일 | ||
| - **AI Hub Navigation (AI 허브 BETA):** 맥락 종합, 판단 포인트, 실행 항목 | ||
| - **Projects Navigation (프로젝트):** (Dynamic user projects) | ||
| - **Labels (라벨):** (Dynamic user labels) | ||
| - **Insights (오늘의 인사이트):** 업무 집중 시간 등 하단 위젯 | ||
|
|
||
| *No "Prompt Studio" or generic "Settings" should replace the core mail navigation layout.* Settings must be accessed via user profile or a dedicated config modal/page, NOT dominating the primary sidebar. | ||
|
|
||
| ## Action Items | ||
| 1. Restore `DashboardLayout.tsx` to match `uiux4.png` strictly. | ||
| 2. Draft proper Organization and User database schemas to fix the identity boundary. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.