Skip to content

Add layout names to playground page#11

Open
derekcannon wants to merge 69 commits into
cyanophage:mainfrom
derekcannon:add-layout-names-to-editor
Open

Add layout names to playground page#11
derekcannon wants to merge 69 commits into
cyanophage:mainfrom
derekcannon:add-layout-names-to-editor

Conversation

@derekcannon
Copy link
Copy Markdown

@derekcannon derekcannon commented Dec 16, 2024

Add search param name to the playground URL to preserve the layout name of the layout being viewed.

E.g.: https://cyanophage.github.io/playground.html?layout=wgdfbqluoy-rsthkjneai%3Bxcmpvz%2C.%27%2F%5C%5E&name=aptV3&mode=ergo&lan=english

Styling is the same as the layout names on the index page:

image

Layout name is also editable, so when users create custom layouts, they can share the layout name along side the layout and stats:

image

And with unnamed layout (i.e. no name search param):

image

@derekcannon derekcannon force-pushed the add-layout-names-to-editor branch from 625e544 to 0b0ffdd Compare December 16, 2024 17:36
@derekcannon
Copy link
Copy Markdown
Author

@cyanophage PR for your consideration. Let me know if you have any feedback. I tried to (roughly) stick to the conventions of the existing codebase.

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.

2 participants