-
Videos sort by keyword doesn't invoke Order
-
subsort either needs title sort or better datetime sort this
-
resource.save might need to have
redirectinstead ofrender -
check arlocal_settings error handling in admin_form
-
counter cache for infopage articles, links, pictures
- it's polymorphic, can be consolidated via infopage_items but not easily distinguished.
-
drop counter_cache columns from infopage
-
Does infopage correctly import/upload pictures?
-
make autokeyword methods a concern/ included module
-
infopage is_published calls upon is_released, but do infopages have a Date_Released attribute?
- audio.published might not be finished. There is not yet an audio index, so this had been delayed.
- .published is defined but check for full join support and implementation.
- event audio_published_sorted
- audio.published might not be finished. There is not yet an audio index, so this had been delayed.
-
event when to use datetime_and_title, datetime_friendly, datetime_and_venue
-
should {resource}.title_for_display be renamed? .title_or_placeholder
-
link_admin_link_name -> *_title see: links_helper
-
review audio & picture terminology for import (single/to album/event) and upload
-
Does title need .html_safe?
-
DUplicate for admin &
neutral- Welcome should be Help
-
article & keyword need full implementation in views.
- keyword admin index order by can_select
-
does Video:Form-picture-import/upload need autokeyword
-
Keyword Admin:
- #edit?videos missing buttons
- Finish implementation of video joins submenus; look across resources; also within video#edit
- #edit?videos missing buttons
- Articles, Links, and Pictures lack a pane for infopages.
Admin Resource Indexes are starting to have 'selectable' components and forms (admin_index_filter_select) in the style of form_metadata.selectable. However, the existing form_metadata modules exclusively serve the #edit action. Indexes currently get their selectable values from {resource}_helper methods. (see also in 'Medium priority') This discrepancy arose because form_metadata modules serving the #edit action frequently invoke ActiveRecord, whereas the #index action selectables were a part of the application structure and Sorter object definitions.
Admin views public_index/show buttons should use a "preview" action instead of bouncing to public
- check Admin:Event#edit and #show for public view button
- Video player layout could be improved at narrow widths. - jplayer Audio player has not been updated in 10 yrs. Can videojs replace it? - Yes, but it will require additional custom code, and it will change the look-and-feel. - and it uses npm which puts diarrhea everywhere AmplitudeJS for audio
-
check various
form_pictures- coverpicture=true would slightly obscure the Order field
- is a javascript thing.
- also maybe
form_elements/join_picture_orderneeds a class declaration - quickly becomes a tangential UI/UX issue: reimagining the admin UI
- _also begs the question, keep using .is_coverpicture boolean, or use first picture by .{resource]order?
- YES this is crucial attribute when automatically sorting by time or filename
- Depends on video_pictures decision. keep it simple, keep it similar.
- probably best as a boolean
-
Video: include attribute for duration? read mediainfo?
-
form_elements/picture_select: should it receive selectable or selectable.pictures?
- Check this throughout. Might be best to start with seeing what variables each form_elements requires.
-
pictures_helper picture_preferred_url
- check if picture exists (add file_exists? method to model)
- if not, return a dummy html_class to guarantee minimal dimensions
-
form_pictures exerwhere
-
picture_selector in join_single
-
event.announced/published might not be finalized. (This had been considered irrelevant.)
- .announced is defined, but there is not yet an date_announced attribute. OK to finish join support.
- except… audio/pictures/video would be more applicable for Event.past rather than Even.announced.
- why would this be useful? if media is from a past event, how would there be multiple joins?
- maybe coverpicture? But then
announcedwould be better - keywords maybe.
- Is this a YAGNI item?
- .announced is defined, but there is not yet an date_announced attribute. OK to finish join support.
Video: source_url is obsolete?
- it depended on videojs plugins that seem unwieldy
- video embedding has become standardized
- probably OK to remove attribute
- see also video _form fields
Audio Id3 tags:
-
AUdioHelper#audio_read_source_metadata
-
is audio_helper the best place for the method?
-
used in
app/views/admin/audio/_form_id3.haml -
form_helperhas one current and several obsolete methods that describe specific form attributes, -
import/upload video via
keywords/_form_video_import -
change the Calendar model from a module to a class
- Compare with video_group. Maybe it's best as a query method?
-
Note where the selectable value source_type comes from the model, not via FormMetadata::Selectable
- Refactoring these has low priority because there is only one @selectable item.
- Controllers::Admin::Audio#new_[method_to_resource]
- Controllers::Admin::Picture#new_[method_to_resource]
- Refactoring these requires deciding whether to assign SorterIndexAdmin[].options_for_select to @selectable into the controller and passing it all the way through.
- Helpers::AudioHelper#audio_admin_filter_select
- Helpers::EventsHelper#event_public_filter_select
- Helpers::PicturesHelper#picture_admin_filter_select
- Refactoring these has low priority because there is only one @selectable item.
-
Albums#Show: section/div nesting doesn't make sense. CSS Grid will fix this
-
Font-Awesome
- buttons that are a stylized anchor use font-awesome svgs as a background image within an inner
<span> - buttons that are an
<input>cannot take innerHTML elements, only text as avalue=attribute - is using the font-awesome webfont the only way to use fa-icons in the
<input>buttons?
- buttons that are a stylized anchor use font-awesome svgs as a background image within an inner
-
administrators/sign_in
- Is it worth getting
devise::rememberableto work correctly?
- Is it worth getting
-
arlocal_settings => user.settings has_one
- would require dividing application settings (eg. marquee) form user preferences (admin index order)
-
Audio index
Continue to be mindful about including autocomplete: :off in form elements.
-
links_helperneed some review- #link_parse_email
- #link_parse_web
- redundancy, confusion, could be refactored.
autokeyword smells bad. Could be replaced by
Add [resource] to Keyword- This gets complicated quickly.
[resource]_admin_link_title- why
gsub('/','/­')in album_*_title? Soft hyphen after a forward slash For what resource was this designed (and afterwards copypasta-ed)- Filepaths? YES. PICTURE AND AUDIO.
- Removing it to see what happens.
- Replace if needed.
- why
-
Link.name should be Link.title for consistency. wait to look for add'l migrations, do all together
- But
#nameis the name of the destination, not the title of the link. - Visited this topic before, and kept name.
- Create semantic sugar method if needed.
- But
-
give a title to nested_picture uploads/imports
-
admin/pictures#index needs visibility indicator
-
eventshelper:158 why assign js empty?
QueryVideos.sort_public_videos_by_keyword seems like logic could be refactored into a few different places.
- Maybe not. It's a specific collection.
- Makes more sense with improved label semantics.
Investigate which Class.options_for_select_admin could be optimized with a .select or .pluck to get only the needed fields for a form select element
video#show css text_data, does it need a min-width? Video index needs headings
-
compare header margins btw admin neutral publica
-
Sorting:
- Time values (date_released, etc) needs a value instead of nil because
nildoes not compare withDate- however, a value of Date.new(0) breaks the date-select year field (range: -5...5).
- use a
date_released_sortablemethod to wrap the attribute when sorting.-
done: audio, album, video
-
check for
_sortablemethods on joined_resource sorting.- Album v/
- Article v/
- Audio v/
- Event v/
- Keyword v/
- Picture v/
- Video v/
-
- Time values (date_released, etc) needs a value instead of nil because
-
admin/isrc/editnarrow view buttons overflow right -
why does
size:attribute result in larger-than-size fields? inherited from CSS maybe?- for example
admin/isrc/editoverflows at narrow widths.
- for example
-
Admin::Articles#index:
contentsection might get extremely vertical. Maybe add overflow-y and max-height?- no, it's okay – uses
content_beginning_props
- no, it's okay – uses
-
autokeyword not fully implemented
- remaining: article, infopage, link, stream
- if anything, only
articleneeds it - the @autokeyword controller variable could be replaced by adding resource.keyword.build to a builder method and testing for its presence in the view.
- look for where
build_with_defaultswould more accurately bebuild_with_defaults_and_autokeyword
-
autokeyword refactor needed a distinction between joined_resources and joined_resources_sorted
- check joined_resource views. update methods.
fixing the multi-field spacing elminiated proper padding on markup_type-select nope, just a typo
-
duration attributes in forms would look better with leading zero
-
article_keyword needs counters
-
scopes intersect with visibility
- models
does_have_published_{resource}and counter_cache - [].any vs [].count
.anyrequires a db query UNLESS the parent search had an.includes()method
- models
-
Counter cache support for
publishedscopes as a table column is unfeasible because it requires a variable evaluation (current date). -
Should html_head title elements include the resource type? Would help add clarity to browser history.
- examples:
- picture: album cover
- album: Diamonds in the Ruff
- see Picture for code
- Yes, but in two different components
- resource: :page_subtitle
- title: :page_subtitle_detail
- this way the components can be used by the nav selector
- admin done:
- welcome
- administrators - see also views/administrators
- albums
- arlocal_settings
- articles
- audio
- events
- infopages
- isrc
- keywords
- links
- pictures
- streams
- videos
- examples:
-
Standardize existing methods
- title_html_head
- title_for_display
- title_sortable
- event date_and_venue
- audio title_and_subtitle_for_display
-
Use methods on the join model for consistency check join methods that sort
album.audio_sorted_by_titletitle_sortable is to_s.downcase title_for_display returns(untitled)for '' **should this be renamed?- done:
- album_audio
- album_keyword
- album_picture
- album
- no title_for_display method
- views/*/albums do not use title_for_Display
- article_keyword
- article
- audio_keyword
- audio
- event_audio
- event_keyword
- event_picture
- event_video
- event
- infopage_item
- infopage
- keyword
- link
- picture_keyword
- picture
- stream
- video_keyword
- video_picture
- video
- done:
-
when done check helpers
album_[admin|public]_title_linketc
Check where display_title and title_sortable overlap. They may be approaching the same problem from different angles: what to say/do when a indexing value (title, datetime) is undefined.
-
Audio:
title_sortableis messy but serves the currentsort_by! … full_titleapproach. Refactor somehow. -
audio.title album_audio.title and event_audio.title all have some legacy methods
-
admin header artist name link should open in target
-
for forms
``- addding link to infopage doesn't work PG::UndefinedTable: ERROR: missing FROM-clause entry for table "infopage_items" LINE 1: ...".* FROM "articles" WHERE "articles"."id" = 7 AND "infopage_... ^
-
Infopage_item ordering doesn't work as intended
-
JOIN resource title needs resource type, e.g., "Keyword Title" instead of simply "Title"
-
Infopage title doesn't appear in nav select when a specific page is #shown but does for top-level /info #info-first
-
evaluate nav_public behavior with infopages when show?id
-