Development log
変更ログ

Development 6/10

Autocomplete

Some input fields (e.g. a musician's band history) now feature autocomplete for artists and labels.

  • The artist autocomplete will be triggered as soon as you type /.
  • The label autocomplete is triggered by typing =.
  • If the autocomplete doesn't return any results, you can still link an artist by typing its name surrounded by /'s. You can reference a label similarly, by typing its name surrounded by ='s.

All changes

  1. Updated sign in from cookie to set all new SESSION variables.
  2. Changed name of default color stylesheet to be consistent with other themes. Updated main template accordingly.
  3. Changed CSS color codes form hex to hsl, and changed some color names from '--faint' to '--secondary'. Updated variables accordingly.
  4. Changed some 'transparent' values in linear gradients to hsla, to fix bug on iOS that causes gradients to render incorrectly.
  5. Removed old, unusued 'VIP images' page and stylesheet.
  6. Moved inline styles from various pages to their respective stylesheets. Deleted commented-out lines from a few CSS files.
  7. Changed artist header to only display secondary name when appropriate, and to display secondary name as plain text without symbol. Also changed JA header to show pronunciation as secondary name, if available.
  8. Moved inline scripts on main template to separate JS files, and updated default scripts list accordingly.
  9. Removed signIn.js from list of default scripts, as it's now only possible on certain pages. Updated pages that need the script accordingly.
  10. Updated sanitizer to replace full-width spaces with half-width.
  11. First pass at playing with tribute.js to allow quicker artist entry.
  12. Removed double spaces from artist script.
  13. Added back ability to place friendly names in render_json_list.
  14. Added artist/label autofill. The in-text notation for artist links is the same, but the autofill can be called by typing '/'. Labels work the same way, except their in-text notation is '{1}= name '.
  15. Updated render_json_list with optional parameter to include friendly name, for use with new autofill script. Also added check to prevent repeat rendering.
  16. Updated artist history parser and markdown parser to work with new in-text label reference.
  17. Added autofill to textareas on artist edit, blog edit, musician add, and release edit pages, and comments.
  18. Changed tribute.js autocomplete to refer to PHP search rather than static list of items, due to slow performance when loading full list of items.
  19. Updated previously-changed sections to remove unnecessary json_lists.
  20. Updated old references to background--faint and text--faint to --secondary.
  21. Corrected another old reference.

Want to support future updates?

vkgy runs on a custom platform developed by a very small team. If you appreciate what we do and want to help us grow, please consider becoming a VIP member!

Support vkgy
top