Consistency for frontend URIs #233
MoritzWeber0
started this conversation in
General
Replies: 1 comment 1 reply
-
The naming scheme looks pretty straightforward. I have some doubts about the 3rd point. Since a "subaction" happens as part of a bigger action (e.g. create a new project). That would mean, that all information gathered in previous steps should be carried along. Either on the URL, or stored somewhere in javascript. The first case is somewhat tricky IMHO, and the second case has some funny downsides as well (try reload the page, for example). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We should bring some consistency into our route URIs. Here is my proposal (I'm happy to hear your opinion about it):
/resources
for the resource overview (e.g./projects
for the projects overview)/resources/action
for a specific action (not related to a specific instance of the resource), e.g./projects/create
to create a project and/project/:name/models/create
to create a model in the project with name:name
./resources/action/subaction
for a specific action related to a parent action, e.g./project/:name/models/create/source
to go to the source stage of the model creation.resource/:name
to access a single instance of type resource.Beta Was this translation helpful? Give feedback.
All reactions