Cognatio Development
Cognatio will probably never quite be finished. Here's a sort of informal planning area where I can jot down ideas for improvements, possible features, and bugs to fix.
Current Ideas
In order of importance.
- A backup mechanism!!
- Make the default selection for permissions match the current page.
- Flat page link copy-to-clipboard button in navigator view (in jump toolbar).
- A proper button to switch back to static view (in jump toolbar).
- Some sort of autosuggest for HTML Entities.
- "Search" / autofill feature when using the jump bar (better yet, when filling out a /page/xxx in an a tag
- Proper word-wrap with indentation
- Experiment with full-network rendering (solving in background when changed).
- Dynamic content blocks.
The idea here is that there's a special HTML tag like 'dynamic' or something. Anything within that tag (but not the tag itself!) is ignored when moving from the iframe to memory, editor, and server. Code that generates dynamic content will find the correct dynamic block (by ID, most likely). If it does not exist, it can safely generate it knowing that it won't be generated next time in a forever-loop.
Then, any work it wishes to do can be done within that container safely! A whole regional application could run within, for example. The schematic data that drives it will have to be stored somewhere, however, but I think that can just be within a globally-spaced inline script tag variable.
To cast this in MVC language, the view is sequestered in the temporary dynamic container. The model lives in the web-page, and the control code either also lives in the webpage or is a separate script file referenced by link.
- 'Pinned' bulletin for quick navigation to gateway, etc.
- "Brandenburg Arch" style Gateway, a bit more grand.
Known Bugs
- href attributes with merely "#anchor" trip a 500.
- #? Serving of non-nav pages doesn't work for 'friends' permissions
- Links to missing pages prompt 500 rather than 404 error when not in navigator mode.
- Links to resources directly embedded in pages ask to create a new page.
Too Hard
- Scroll-location memorization in viewer when save is fired on right side.
Completed Features / Solved Bugs
- # Should close overlays when switching pages
- # Logging in doesn't preserve target link
- # Graphics are broken in login
- # Width of alter / new / upload on mobile.
- # Transfer forwards and backwards to the navigator with hotkeys.
- # Transfer method for mobile.
- # Cookies that remember editor settings like wrap and SC.
- # Clicking external link while in nav opens in new tab.
- # Cookies that remember login.
- # Paste-images into uploader.
- Spellcheck in editor.
- Page doesn't yet exist, would you like to make it? when clicking a link that's just been made
- Creation of a new page updates the graph for the current page, just in case it was already linked
- Having an empty href (.e.g
href="") will trip a 500 on the backend.
- Map mode dragging doesn't work at all on mobile.
- Login needs to be zoomed in a bit on mobile devices. Sometimes performs very badly.
- Need to add the magic "meta" tag to the base navigator app so mobile has correct scale.
- Redirect to login page for 403 error.
- Static LOCAL directory with 'snippets' for new-page creation.
- Change tab names to be page names and add an icon.
- Some signifier to slap on text for structlog / global log gathering later.
- Implement logging ruleset found here