Skip to content

chore(Routing): Move action routes in flat file structure - #8871

Merged
gatzjames merged 19 commits into
Kong:developfrom
gatzjames:feat/react-router-framework-mode
Jul 17, 2025
Merged

gatzjames merged 19 commits into
Kong:developfrom
gatzjames:feat/react-router-framework-mode

Conversation

@gatzjames

Copy link
Copy Markdown
Contributor

In preparation for enabling react-router's framework mode we need to move actions/loaders into flat file routes

Highlights:

  • Moves all actions from actions.tsx to flat routes.
  • Cleanup unused routes

@gatzjames
gatzjames requested a review from a team July 16, 2025 08:40
@gatzjames gatzjames self-assigned this Jul 16, 2025
@jackkav

jackkav commented Jul 17, 2025

Copy link
Copy Markdown
Contributor

How do you address all the revalidate logic that used to be in here?

@ZxBing0066

Copy link
Copy Markdown
Member

Looks good, but the file names are so loooong. I remember that on Windows, there's a file path limitation. 😯

@gatzjames
gatzjames force-pushed the feat/react-router-framework-mode branch from 81887e6 to 1674656 Compare July 17, 2025 10:37
@jackkav

jackkav commented Jul 17, 2025

Copy link
Copy Markdown
Contributor

Looks good, but the file names are so loooong. I remember that on Windows, there's a file path limitation. 😯

apparently only window 10 pre-1067 doesn't support over 255 character filenames

@gatzjames
gatzjames merged commit 5bd8612 into Kong:develop Jul 17, 2025
@gatzjames
gatzjames deleted the feat/react-router-framework-mode branch July 17, 2025 11:42
RoamingLost pushed a commit to RoamingLost/insomnia that referenced this pull request Aug 6, 2025
* move new project action to file module

* move update/delete project action in separate modules

* move project action to dedicated route file

* move workspace new/delete actions to dedicated route files

* move workspace move/update actions to dedicated route files

* move workspace move-workspace/update-meta actions to dedicated route files

* refactor: move createNewTestSuiteAction to dedicated route file

* refactor: move test suite actions to dedicated route files

* refactor: move unit test actions to dedicated route files

* deprecate Insomnia AI and move spec actions to file route

* refactor: move environment actions to dedicated route files

* refactor: rename update cookie jar route and move action to dedicated file

* refactor: move CA certificate actions to dedicated route files

* refactor: move client certificate actions to dedicated route files

* refactor: move update settings action and reorder collection action to dedicated route files

* refactor: move mock route actions to dedicated route files

* remove unused mock-server update action

* refactor: move toggle expand all action to dedicated route file

* refactor: relocate safeToUseInsomniaFileName functions to sync/git/insomnia-filename
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.

3 participants