Problem/Motivation
The Examples module uses paths starting with /examples.
With form_api_example it is ok but with others like ajax_example, I obtain a fatal error because the routes are overlapping.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork ui_examples-3384343
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
pdureau commentedFollowing #3339666: [meta] Move libraries links under appearance, if we change here we change everywhere
For example (just a proposal, let's discuss):
Comment #3
grimreaperIn this case let's use:
/ui_suite/components
/ui_suite/styles
/ui_suite/examples
To avoid any potential other namespace conflict.
Comment #4
pdureau commentedNot confortable for mentioning UI Suite and having an underscore in URL.
we also need a redirect for each, to not break the links
Comment #5
grimreaperOk to change with hyphen.
I do not understand why we would need redirect? Which links?
Comment #6
pdureau commentedStyleguide module is exposing its page under /admin/appearance/
Source: https://git.drupalcode.org/project/styleguide/-/blob/2.x/styleguide.rout...
So, what about this?
or something like that
Comment #7
grimreaperOk, with the last proposal.
Currently we have admin/appearance/ui-libraries as a common page in the ecosystem.
So should we go for:
???
It may affect the breadcrumb of the pages.
Comment #8
grimreaperDiscussed with @pdureau,
Keep current URLs for the moment, but change controllers to redirect to new route. And remove controller in next major version.
Comment #9
grimreaperComment #10
grimreaperComment #11
grimreaperComment #12
grimreaperI have tested, the breadcrumb is impacted, but only if the user has access to the intermediary admin pages.
Comment #14
grimreaperMR ready.
Preparing other MRs on the ecosystem to synchronize merge.
Comment #16
grimreaper