Skip to content
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

Move instance pages under team namespace #4905

Draft
wants to merge 15 commits into
base: add-a-team-link-component-to-simplify-routing
Choose a base branch
from

Conversation

cstns
Copy link
Contributor

@cstns cstns commented Dec 12, 2024

Description

  • nest instances routes under the team namespace and remove instances and immersive editor routes from top level routes
  • extend the account store feature check getter
  • filter out hidden SectionSideMenu options
  • refactor the instance settings side navigation options
    • used named routes
    • used the hidden key to hide options
    • switched to the featuresCheck ux store getter
  • updated instance routes and passed team slug
  • alter e2e tests to use the new instances routes after changing their namespace

Related Issue(s)

part of #4836

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • Includes a DB migration? -> add the area:migration label

@cstns cstns self-assigned this Dec 12, 2024
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (add-a-team-link-component-to-simplify-routing@1622f35). Learn more about missing BASE report.

Additional details and impacted files
@@                               Coverage Diff                                @@
##             add-a-team-link-component-to-simplify-routing    #4905   +/-   ##
================================================================================
  Coverage                                                 ?   78.44%           
================================================================================
  Files                                                    ?      325           
  Lines                                                    ?    15353           
  Branches                                                 ?     3529           
================================================================================
  Hits                                                     ?    12043           
  Misses                                                   ?     3310           
  Partials                                                 ?        0           
Flag Coverage Δ
backend 78.44% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

- stop teleporting the platform banner while on the immersive editor because that's using the plain layout which doesn't include the placeholder
@cstns cstns changed the base branch from main to fix-application-child-routes-not-making-the-applications-nav-menu-active December 12, 2024 14:37
@cstns
Copy link
Contributor Author

cstns commented Dec 12, 2024

Given the high number of changed files, it would be easier to review on a commit basis from the commits tab

Base automatically changed from fix-application-child-routes-not-making-the-applications-nav-menu-active to main December 18, 2024 09:51
@cstns cstns changed the base branch from main to add-a-team-link-component-to-simplify-routing December 18, 2024 16:49
@cstns cstns marked this pull request as draft December 18, 2024 16:57
…e-instance-pages-under-team-namespace

# Conflicts:
#	frontend/src/pages/device/index.vue
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