Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.16 KB

TODO.md

File metadata and controls

31 lines (22 loc) · 1.16 KB

TODO

  • Add endpoint to refresh github info, requires that we store most recent OAuth on loginUrl. Use this endpoint when loading app with jwt from localStorage

  • Add jwt expiry, upon any request if expiry time is <= 50% issue a new jwt

  • Routes mapped to name rather than id

    • (Server) Disallow creation of snippets/tags with conflicting name (lower-case underscore)
    • (Server) Add name_id attribute (lower-case underscore of name)
    • (Client) Map routes to name_id, use /snippets?filter[name_id]=hello_world
  • Snippet routes

    • /snippets/:snippet_name - shows the snippet code and example
    • /snippets - shows list of all snippets (searchable)
    • /snippets/:snippet_name/edit - Allows editing of snippet
    • /snippets/new - allow for creation of new tags
  • Tag routes

    • /tags/:tag_name - redirect to /snippets?tags=:tag_name
    • /tags - shows list of all tags (perhaps searchable)
    • /tags/:tag_name/edit - Allows editing of tag
    • /tags/new - allow for creation of new tags
  • Code block improvements

    • make line numbers un-copy/select-able
    • non js line-wrapping
    • align line numbers with wrapped lines