Skip to content

Epic/org#1381

Open
mellelieuwes wants to merge 8 commits intodevelopfrom
epic/org
Open

Epic/org#1381
mellelieuwes wants to merge 8 commits intodevelopfrom
epic/org

Conversation

@mellelieuwes
Copy link
Contributor

  • System Admins kunnen nieuwe organisaties aanmaken
  • System Admins kunnen organisaties archiveren (via ... menu op de organisatie card, icon moet nog beter design krijgen)
  • System Admins kunnen email domeinen toekennen aan organisaties
  • System Admins kunnen Org Admins toewijzen (via ... menu op de organisatie card, net als bij een Project)
  • Org Admins krijgen een Admin menu button als ze Admin zijn van minimaal 1 organisatie
  • Org Admins zien geen cards als ze Admin zijn van 1 organisatie. Ze zien dan direct de CMS pagina van die ene organisatie. Ook de breadcrumb is dan anders: je ziet alleen de naam van de Organisatie in het blauw.
  • Org Admins kunnen Org Admins toewijzen (in het ... menu op de card)
  • Org Admins kunnen Org Members toewijzen in de CMS pagina
  • Org Admins kunnen naam aanpassen in de CMS pagina
  • Organisatie types zijn verdwenen
  • Overbodige organisaties uit het verleden zijn gearchiveerd
  • Er is automatische detectie van nieuwe Members voor een organisatie (mits er minimaal 1 domein is opgegeven)

Openstaand design punten (hier ga ik losse issues van maken):

  • Hoe kunnen Org Admins met 1 organisatie nieuwe Org Admins toevoegen als ze geen card zien.
  • Archive icon heeft nieuwe design nodig

mellelieuwes and others added 8 commits January 13, 2026 17:00
- Add unit tests for Admin views (OrgView, SystemView, AccountView, ActionsView)
- Add LiveContext pattern documentation to test/CLAUDE.md for embedded view testing
- Remove deprecated import_rewards_page and related files (fixes dialyzer error)
- Add excoveralls dependency for code coverage analysis
- Update org_view_builder tests to match current API signatures
- Fix _public_test.exs to use renamed has_governable_entities? function

Test coverage improvements:
- system_view.ex: 72.4% → 93.1%
- account_view.ex: 85.1% → 92.5%
- org_view.ex: improved with new event handler tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Refactor config_page.ex mount to use positive condition check
instead of `if not Admin.Public.admin?(user)`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolves Credo D-level duplicate code warnings by creating a shared
helper module for building confirmation row UI elements.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Revert selector's send_parent_event to use direct Phoenix send instead
  of LiveNest publish_event, fixing SignupPage privacy policy checkbox
- Update Account.SwitchTest to use Core.DataCase and Factories.insert!
  since the switch now calls Org.Public.sync_next_actions_for_new_user
  which requires database access

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolve conflict in actions_view.ex by keeping epic/org's view model
architecture while adding Feldspar data_donation_cleanup functionality.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant