Files
ebfabc4aa6 Feat(Spaces): Spaces (#5035)
* feat: add organisations feature directory and routes

* Feat(Orgs): info modal (#4898)

* Feat(Orgs): dashboard banner (#4900)

* feat(Orgs): add sidebar for org routes (#4899)

* feat: add org layout with sidebar

* fix change organisations to organization

* feat: add links to orgs sidebar

* Update apps/web/src/features/organizations/components/OrgsSidebarNavigation/config.tsx

Co-authored-by: katspaugh <[email protected]>

* Update apps/web/src/features/organizations/components/OrgsSidebarNavigation/config.tsx

Co-authored-by: katspaugh <[email protected]>

* Update apps/web/src/pages/organizations/members.tsx

Co-authored-by: katspaugh <[email protected]>

* Update apps/web/src/pages/organizations/dashboard.tsx

Co-authored-by: katspaugh <[email protected]>

* refactor: remove unecessary getPathname function

---------

Co-authored-by: katspaugh <[email protected]>

* feat(Orgs): Add organization dashboard page signed out state  (#4908)

* feat: add org dashboard signed out state

* feat: request auth cookie from backend on sign in button click

* resolve name conflict

* refactor: clean up css and comments

* link to orgs page from dashboard banner and modal

* feat: use dynamic route for org dashboard

* fix: remove dead links and allow credentials for CGW requests in rtk query

* extract getSignableMessage to utils

* catch failed SIWE attempts and log error

* feat: add org creation modal (#4945)

* feat: add org creation modal

* Add icon

* feat: Add org toggle to accounts page (#4944)

* Feat(Orgs): Add org card (#4946)

* feat: Add org card

* fix: Generate deterministic color instead of using a fixed set

* Feat(Orgs): Implement orgs list and sign in state (#4950)

* feat: Implement orgs list and sign in state

* feat: Add no orgs state

* feat: open info modal and create modal from orgs dashboard widget (#4951)

* feat: Add empty org pages, adjust route generation (#4964)

* feat: Add empty org pages, adjust route generation

* Update apps/web/src/pages/organizations/[orgId]/safeAccounts.tsx

Co-authored-by: katspaugh <[email protected]>

* Update apps/web/src/pages/organizations/[orgId]/safeAccounts.tsx

Co-authored-by: katspaugh <[email protected]>

* fix: Extract regex

---------

Co-authored-by: katspaugh <[email protected]>

* feat(Orgs): Create empty members and accounts components for Orgs dashboard (#4975)

* feat: add safe list with empty state to the orgs dashboard

* feat: add members list placeholder

* feat: Create org when submitting the form (#4978)

* feat: Create org when submitting the form

* fix: Handle error and loading state when submitting the form

* feat(Orgs): Add org selector dropdown to orgs sidebar (#5002)

* feat(Orgs): Add organization dashboard page signed out state  (#4908)

* feat: add org dashboard signed out state

* feat: request auth cookie from backend on sign in button click

* resolve name conflict

* refactor: clean up css and comments

* link to orgs page from dashboard banner and modal

* feat: use dynamic route for org dashboard

* fix: remove dead links and allow credentials for CGW requests in rtk query

* extract getSignableMessage to utils

* catch failed SIWE attempts and log error

* feat: Add org selector component to the orgs sidebar

* remove link from orgs card in the org selector dropdown

* refactor: use grid area for orgs card

* feat: Add empty members view (#4988)

* Feat(Orgs): Implement orgs sign in state (#4986)

* fix: Only add credentials header for authenticated routes

* fix: Add auth slice to store sign in state

* fix: Only set the sign in state if the signIn call succeeds

* fix: Remove TODO

* Add debug logs

* fix: Omit credentials for /auth endpoint requests

* Fix(Orgs): Fetch organizations when signed in (#4991)

* fix: Only add credentials header for authenticated routes

* fix: Add auth slice to store sign in state

* fix: Fetch organizations when signed in

* fix: Include /auth/verify in the credentials route

* feat(Orgs): Update sidebar (#5019)

* fix: Add org sidebar toggle

* fix: User correct icons for org sidebar and highlight current nav item

* fix: Fetch orgs and display them in the selector (#5023)

* feat: Add empty safe accounts view (#5021)

* Fix(Orgs): Update org creation info view (#5020)

* fix: Update org creation info view

* fix: Remove padding

* fix: Update copy

* Feat(Orgs): Add members modal (#5024)

* feat(Orgs): create add members modal

* revert unrelated changes

* revert unrelated changes

* feat: add description to role selections and resize icons

* Feat(Orgs): Add Settings page, delete and update org (#5028)

* feat: Add update org form

* fix: Add org deletion modal

* feat: Add delete org call

* fix: Disable form until name has changed, show notification

* Fix(Orgs): Update Sidebar & Dashboard (#5031)

* fix: Update org dashboard empty view

* feat: Add disabled sidebar nav items

* fix: Remove gridArea and rename file

* fix: Update bank icon color

* Feat(Orgs): add org invite component to orgs list (#5037)

* Feat(Orgs): send invites and show invited members (#5047)

* Feat(Orgs): send invites and show invited members

* feat: add declined state for invite list

* use enum for member roles

* remove unused pathMatcher function

* fix: update invite member body type to reflect CGW change

* add ts ignore

* Feat(Orgs): Add Safe accounts form (#5041)

* feat: Add Safe accounts form

* fix: Network icon alignment

* feat: Add search and update selected safes type

* fix: Add accounts on the empty safe accounts list view

* Feat(Orgs): Add safes manually for orgs (#5059)

* feat: Add safes manually for orgs

* refactor: Remove FilteredSafeList

* fix: Use chains.eth, disable Submit button if nothing is selected

* Feat(Orgs): show list of pending invites on the orgs list screen  (#5058)

* feat: handle accepting and rejecting pending invites

* fix: make accept and invite buttons smaller

* feat: Send request to CGW when adding safe accounts to an org (#5071)

* Fix(Orgs): duplicate nav items in the orgs sidebar (#5074)

* Feat(Orgs): Add members list to members page (#5072)

* Feat(Orgs): display list of org members on the members route

* feat: add edit icon

* feat: always show members list and adjust empty members component text

* only show active members in the members list

* Feat(Orgs): Create orgs safe accounts list view (#5068)

* feat: Create orgs safe accounts list view

* fix: Hide add another network in orgs and remove clickable list item

* fix: Fetch safe accounts on the accounts page

* Feat(Orgs): Allow deletion of invited users (#5076)

* feat: allow org member to delete invites

* wrap invite deletion in try catch

* Feat(Orgs): add name field to add member modal (#5094)

* feat: update add members modal to include names and only allow add one member at a time

* fix: update invite parameters

* Feat(Orgs): add search to members list (#5101)

* Feat(Orgs): add search to members list

* remove outdated todo comment

* Feat(Orgs): sign out on disconnect wallet (#5104)

* Feat(Orgs): sign out on disconnect wallet

* add try catch

* Fix(Orgs): use correct format for add accounts request (#5109)

* Fix(Orgs): show empty accounts state when there are no safes added to the org

* fix: send add safes request in the correct format

* Feat(Orgs): add safes list to the dashboard (#5113)

* Feat: add safes list to the dashboard

* feat: add view all button to orgs and members sections

* fix: lint errors

* remove empty element and add todo

* Feat(Orgs): Delete safe accounts in orgs (#5117)

* feat: Delete safe accounts in orgs

* fix: Adjust wording in dialog

* fix: Stop propagation

* Feat(Orgs): Add members list to the dashboard (#5121)

* Feat(Orgs): Add members list to the dashboard

* Use absolute imports

* rename OrgLogo -> InitialsAvatar

* fix: Display user id not membership id for members list

* remove unused key prop

* Fix(Orgs): console error for setting gridArea on a DOM element (#5137)

* Feat(Orgs): Implement sign in button (#5136)

* Feat(Orgs): re-use continue with button for signing in

* fix: change text from continue with to sign in with

* Feat(Orgs): Update members search to include invited members (#5139)

* Feat(Orgs): Update members search to include invited members

* remove unused check

* Feat(Orgs): replace dynamic routing with query params (#5213)

* Feat(Orgs): replace dynamic routing in orgs with query params

* Fix: use correct redirect route on org creation

* Remove dynamic routes from app routes script

* fix: view all links from dashboard

* refactor: use approutes config in useIsOrganizationRoute

* fix: typo

* Feat(Orgs): Add search to accounts page (#5215)

* Feat(Orgs): add search to accounts page

* Fix: restore previous type

* fix: Update orgs list when signing in (#5227)

* Fix(Orgs): added safes are rendered while orgs safe request is being resolved (#5233)

* fix: Show balances for org safe accounts (#5237)

* fix: Reset orgs cache when signing out (#5250)

* Fix(Orgs): show empty orgs list state when user account is not found (#5235)

* Fix(Orgs): show empty orgs list state when user account is not found

* fix: remove unecessary check for currentUser

* Fix(Orgs): type error when fetching safes list (#5247)

* Feat(Orgs): Add user settings page (#5153)

* Feat(Orgs): Add user settings page

* fix: small device styles

* fix: Add signed out state to every orgs view (#5258)

* Fix(Orgs): display a max of 5 safes on the dashboard page (#5262)

* Fix(Orgs): display a max of 5 safes on the dashboard page

* Fix(Orgs): remove todo comment

* Feat(Orgs): display correct safe count on org cards and invites

* Fix(Orgs): Display selected safes number, reset form state on cancel (#5264)

* fix: Display selected safes number, reset form state on cancel

* fix: Reset form when submitting

* Feat(Orgs): allow adding users from fresh org dashboard (#5266)

* Feat(Orgs): add feature flag check for orgs entry points (#5261)

* fix: Send credential when logging out (#5286)

* fix: Don't close modal when adding safes manually (#5291)

* Feat(Orgs): Display member names (#5297)

* feat: Display member names, add member name on invite and accept

* refactor: Rename InitialsAvatar prop, show only first character

* Feat(Orgs): Dont show chain prefix for multichain safes (#5267)

* Fix(Orgs): Reset safes when closing or submitting the form (#5304)

* fix: Reset safes when closing or submitting the form

* fix: Add scroll to network selector

* fix: Adjust admin icon color to work in dark mode

* fix: Update safe accounts icon in the sidebar

* chore: Revert unrelated auto-generated type changes

* Feat(Orgs): Allow deletion of members by Admins (#5298)

* FEat(Orgs): allow deletion of members by Admins

* Fix: do not allow deletion of final admin

* show edit icon for members on their own entry

* fix: keep edit icon aligned when delete option is hidden

* show tooltip to explain that you cant remove the last admin

* Fix: only show buttons for admins

* Fix: close dialog on submit, style error messages, display member names

* remove outdated comment

* fix: remove unecessary else block

* fix: Update delete safe request payload type (#5308)

* Feat(Orgs): add link to org from invite card (#5311)

* feat: Edit member role (#5313)

* Fix(Orgs): Hide add members, add accounts and delete invites buttons for non admins (#5316)

* fix: Use currentData instead of data for fetching org data in RTK (#5318)

* fix: Network tooltip position issue fixed for multichain safes (#5257)

* fix: Allow renaming safes in orgs (#5334)

* fix: Show who invited you to their org (#5338)

* fix: Show who invited you to their org

* fix: Move invitedBy condition up in the render tree

* Fix(Orgs): add not found state for accounts search (#5321)

* Fix(Orgs): add no results view for accounts search

* change condition for consistency

* Fix(Orgs): Handle unauthorized users in org views (#5330)

* fix: Handle unauthorized users in org views

* refactor: Extract AuthState from other components

* fix: Remove unused imports

* fix: Update member name sort value (#5345)

* Feat(Orgs): Add invite banner when viewing org as invited member (#5340)

* Feat(Orgs): Add invite banner when viewing org as invited member

* use currentData

* Fix: update colour palette and fix import

* fix: update colour palette

* fix: keep dark pallete the same

* fix: Trim NameInput values (#5348)

* Feat(Orgs): add confirmation dialog when deleting invites (#5347)

* Feat(Orgs): add confirmation dialog when deleting invites

* Fix: invite -> invitation

* Fix:update text,  cancel -> remove

* refactor: combine members list and invites list

* remove commented code

* remove unused invites list component

* Fix(Orgs): Signs out properly after disconnect from EOA (#5249) (#5352)

* Fix(Orgs): Optimize orgs views for mobile screens (#5360)

* fix: Optimize orgs views for mobile screens

* fix: Adjust cta button order on mobile

* Fix(Orgs): hide settings and disble settings buttons for non admins (#5364)

* fix: add declined chip back in (#5368)

* Fix(Orgs): update snapshots for unit tests after theme update (#5370)

* fix: Add links to orgs list from dashboard banner (#5373)

* fix: Show error when trying to add same safe to org (#5389)

* Feat(Orgs): Add send tokens flow to orgs view (#5387)

* feat: Add send tokens flow to orgs view

* fix: Reset query params when tx-flow closes

* fix: Use safe address from url for tx-flow safeId

* fix: Add send button to multichain safe items

* Fix(Orgs): re-trigger validation of safe address when chain id changes (#5376)

* Fix(Orgs): re-trigger validation of safe address when chain id changes

* fix:update dependency array for useEffect

* Fix(Orgs): keep button size consistent when submitting (#5398)

* Fix(Orgs): disable buttons on dashboard for non admins (#5401)

* Fix(Orgs): disable buttons on dashboard for non addmins

* update message to match designs

* update tooltip messages

* Feat(Orgs): do not show prefix for address input in  members invite (#5375)

* Feat(Orgs): limit add member input to EOA addresses

* remove comment

* revert eoa validation

* Feat(Orgs): add analytics events (#5392)

* Feat(Orgs): add analytics events

* Track view all

* combine imports from the same file

* add tracking event for seraching members and safe accounts

* remove commented code

* add event for adding safe manually submission and rename events for consistency

* add events for renaming the org, removing accounts, add address manually and delete org

* rename event

* Feat(Orgs): open info modal from Learn more button (#5409)

* Feat(Orgs): open info modal when clicking the learn more button on the org dashboard

* add event for opening the info modal

* Feat(Orgs): Add context menu to org card (#5410)

* refactor: Extract InitialsAvatar

* refactor: Extract DeleteOrgDialog and UpdateOrgForm

* feat: Add context menu to org card

* fix: Add errors to UpdateOrgForm and DeleteOrgDialog

* fix: Focus issue in update org modal

* fix: lint

* Refactor(Orgs): Rename orgs to spaces (#5419)

* refactor: Rename orgs to spaces

* fix: Rename icon

* fix: Rename OrgSafeContextMenu to SpaceSafeContextMenu

* Fix(Orgs): Highlight current user in member list (#5437)

* fix: Highlight current user in member list

* fix: Adjust style

* Fix(Orgs): remove horizontal scroll bar in info modal (#5426)

* Fix(Orgs): remove horizontal scroll bar in info modal

* revert unrelated changes

* add margin above buttons on mobile

* Fix(Orgs): always allow removal of pending invites (#5422)

* Fix(Orgs): Only list owned accounts when adding to space (#5431)

* fix: Only list owned accounts when adding to space

* fix: Remove error when closing add safe accounts modal

* fix: Disable already added safe accounts in the list

* fix: Add TODO

* Feat(Orgs): Show Info modal on list view (#5434)

* Feat(Orgs): make add manually modal wider to fit entire address

* Feat(Orgs): open info modal from signed out state

* Fix: remove unused component

* Fix(Orgs): remove unused empty members component (#5441)

* Fix(Orgs): hide add members button on dashboard members list for non admins (#5443)

* fix: Implement unauthorized state and not-signed-in state (#5446)

* fix: Don't duplicate safes when adding manually (#5454)

* Refactor(Orgs): Switch to using Space RTK Queries (#5457)

* refactor: Switch to using Space RTK Queries

* fix: Add credentials to spaces routes

* Feat(Orgs): add loading state for dashboard and accounts page (#5449)

* Feat(Orgs): add loading state for dashboard and accounts page

* extract loading state into its own component

* fix: Only keep loading state in AuthState component

---------

Co-authored-by: Usame Algan <[email protected]>

* fix: Use correct space id when deleting space (#5462)

* Feat(Orgs): Show aggregated balance on dashboard (#5464)

* feat: Show aggregated balance on dashboard

* fix: Extend loading skeleton

* refactor: Add max_networks const

* fix: Don't list declined spaces in the selector (#5479)

* fix: Disable edit button for last admin (#5481)

* fix: Disable edit button for last admin

* fix: Soon color in dark mode

* fix: AuthState background in dark mode (#5489)

* fix: Add more toast messages for space actions (#5494)

* fix: Add more toast messages, adjust invite preview styling

* Feat(Orgs): Show breadcrumbs if navigating to a safe from a space (#5502)

* feat: Show breadcrumbs if navigating to a safe from a space

* fix: Update create space info picture

* fix: Add custom space icon

* fix: Add meta events to track total numbers

* fix: Adjust preview invite for dark mode

* fix: Adjust add accounts dialog color in dark mode

* fix: Remove background image for signed out state

* fix: Adjust wording for notification when inviting members

* fix: Code TODOs

* fix: Show notification when accepting invite

* fix: Check for active admin in useIsAdmin

* fix: Update declined chip color

* fix: Display correct number of safe accounts on dashboard counter

* fix: Show safe accounts limit info and better error message

* fix: Address QA comments

* fix: Redirect user to accounts page if spaces feature is turned off (#5531)

* fix: Update wording on the safe accounts limit

* fix: Add feature flag redirect to all spaces pages

* Fix(Orgs): Update terms and conditions (#5535)

* fix: Update terms and conditions

* fix: Update terms version

* fix: Update address

* fix: Adjust send token buttons style within spaces (#5544)

* fix: Adjust send token button hover color

* Fix(Orgs): Nested safe breadcrumbs, add breadcrumb analytics events (#5545)

* fix: Nested safe breadcrumbs, add breadcrumb analytics events

* fix: Add link to safe items in spaces

* fix: Update terms navigation

* Fix(Spaces): add missing tracking event and remove misfiring events (#5546)

* Fix(Orgs): remove misfiring events and add missing events

* fix: do not track open spaces link when it is already selected.

* do not track multisafe expand in spaces

* rename remove space -> delete space in events

* use the delete space event

* Fix: add labels for open delete space modal

* rename handler function for spaces click

* Fix: use correct label for delete space modal event

* fix: Update user-settings page (#5547)

* fix: Update aggregated balances design (#5549)

* Fix(Spaces): Re-trigger address transformation on chain change (#5550)

* Fix(Spaces): retrigger address transformation when changing the chain value

* fix: Failing test and return early if ens resolution

---------

Co-authored-by: Usame Algan <[email protected]>

---------

Co-authored-by: James Mealy <[email protected]>
Co-authored-by: katspaugh <[email protected]>
Co-authored-by: Chiranjeev Mishra <[email protected]>
2025-03-31 20:20:57 +02:00

1.7 KiB