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

Snippets cheatsheet #11

Closed
hhkaos opened this issue Jun 17, 2021 · 7 comments
Closed

Snippets cheatsheet #11

hhkaos opened this issue Jun 17, 2021 · 7 comments
Labels
type/discussion Topic under discussion

Comments

@hhkaos
Copy link
Member

hhkaos commented Jun 17, 2021

What do you feel about making a printable version like this:

VSCode ES7 React/Redux snippets Cheat Sheet by frankieali4

Right now, the table in the readme doesn't look very friendly to me. I would probably organize by categories like: basics, core, geometry, layers, renderers, popup, smartmapping, ... maybe even grouping using some color to differentiate those snippets only for 2D or 3D elements from the common ones.

If you think it might be worthy I don't mind making the first sketch in a collaborative tool like Google Drawing on which we can iterate.

@kellyhutchins
Copy link
Member

@hhkaos I think that looks great and agree that we could organize by category.

@hhkaos
Copy link
Member Author

hhkaos commented Jun 21, 2021

I'm not sure which tool to use, I also found cheatography.com, I'll try to find some time this week to start a draft 😄

@hhkaos
Copy link
Member Author

hhkaos commented Jul 14, 2021

Finally, I have found some time to start with Google Drawings (for now), you can access and edit it here:

Screenshot 2021-07-14 at 10 39 51

I think it could make sense to make different cheatsheets, one for 2D, another one for 3D, Typescript, etc. Otherwise, it is going to be very large and I guess a developer won't need all of them.

What do you think?

@hhkaos
Copy link
Member Author

hhkaos commented Jul 19, 2021

After adding new snippets on my local environment I have decided to use cheatography.com (it also allows collaborators). This is how it looks with my new snippets:

cheatography com_hhkaos_cheat-sheets_vscode-arcgis-js-api-4-x-snippets-cheat-sheet_ (1)

@kellyhutchins
Copy link
Member

Looks great! I think this will make the snippets much easier to discover and use.

@hhkaos
Copy link
Member Author

hhkaos commented Jul 29, 2021

UPDATE 26/10/2023 > (created new issue)
I'm thinking if it would be easy/possible to use Calcite Design System to automatically generate/update the cheat sheet... I don't see an easy way but it would be nice. Another option would be to release a new version of the extension (and update the cheatsheet simultaneously) one or two times per year.

Said that, I think we could plan a v2.0 release of the extension for... September? and public the first official version of the cheat sheet. What do you think?

@kellyhutchins
Copy link
Member

I think the September date sounds good and yes if we could auto-generate the cheat sheet that would be great but until we figure out a way to do that I think updating the cheat sheet when we add new snippets won't be a huge problem.

@hhkaos hhkaos added type/enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Sep 19, 2023
@hhkaos hhkaos added type/discussion Topic under discussion and removed type/enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Sep 26, 2023
@hhkaos hhkaos closed this as completed Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/discussion Topic under discussion
Projects
None yet
Development

No branches or pull requests

2 participants