* Add Welcome Thread Broadcast to generator.rb
* Add welcome trait to broadcasts.rb
* Add additional tests around welcome_broadcasts:
- ensure that the correct Broadcast is sent
- ensure that a User only receives a single Notification
- ensure that only certain Users receieve the Notification
* Refactor and remove unncessary code from generator.rb and generator_spec.rb
* Refactor generator_spec and eagerly load welcome_thread_comment to get spec passing
* Initialize user in place of receiver_id in generator.rb
* Add before action to make generator_spec more readable
* Add latest_published_thread method to generator.rb
* Update generator.rb to be reusable with latest_published_thread
* Update generator_spec to use welcome tags for Article obj
* Create mascot_account using let to reduce User creation in spec
* Adjust expectation for a User who should not receive a notification
* Remove unused CSS rules
* Use bootstrap utility class over custom css
* Fix grapical bug with buffer tags
* Fix internal UI highlighting and misc fixes
This commit is a little bit too big.
It fixes a bug with the internal UI that was breaking the highlighting
feature (indicates status of articles and when an AJAX request has been
made).
It also does some reformatting in the internal listings UI. This should
make it a bit easier on anyone writing buffer updates in the listings
UI. I was able to reapply some stimulus I wrote previously for this,
super easy!
There are also a couple of CSS classes I renamed to match Bootstrap's
naming conventions.
* Remove <br> tag
* Update article_controller Stimulus test
The navbar in internal is a bit too much for a horizontal nav.
Because we aren't using breadcrumbs, it also indicates to users where
they are, so it needs to be visible and not collapsed.
Making this a sidebar fixes both of those problems. In this state, it is
definitely a barebones implmentation, but it is also an improvement over
the hornizontal nav.
Co-authored-by: MichaelaHunter <michaela1234@gmail.com>
Co-authored-by: MichaelaHunter <michaela1234@gmail.com>
* Break feedback_messages view into partials
* Standardize capitalization
* Add visual cues for banned and vommitted users
* Use helper methods to construct urls
* Rename vomitted? to vomitted_on?
vomitted_on? is a slightly more clear method name. This change takes
Rhymes' suggestion to use the AR method exists? over where(...).exists?
* Add response templates model and table
* Add missing factory oops
* Remove response templates on delete
* Remove moderator_id column from comments for now
* Use constants and add spec for response templates
* hook up user search for chat channels to Elasticsearch
* Add spaces
* run specs
* add more spaces
* reset travis file
* add another data upadte script to reindex Users
* Renamed Components Storybook grouping to App Components.
* Design system components are now grouped under Components in Storybook.
* Split up Typography stories.
* move kbd where it should be
* initial cleanup
* do we even need that?
* sponsorships
* cleanups on articles.scss mostly
* initial cleanups to scaffolds
* moving cheese around
* color variables, variables cleanups
* adding spacing units
* variables cleanup
* adding topbar height variable
* a bit of top-bar refactor
* a bit of top-bar refactor
* a bit of top-bar refactor
* simpler animation
* top bar search and responsivness
* loggged out version
* remove unnecessary comment
* fixing svg icons
* search cleanup
* top bar cleanups
* .
* dropdown in header
* removing fill from svgs to make them work in other themes
* remove test element
* topbar icons recreated
* introducing variables & buttons component
* more variables
* Whoops
* init modal component
* init modal component
* init form component
* form component
* .
* variables naming
* .
* tiny cleanups
* formatting
* whoops
* Test
* component avatars
* components page + fixes
* indicators
* init boxes
* boxes
* im an idiot
* radios, checkboxes
* maybe im smart
* whoops. i am dumb and blind
* checkboxes and radios
* better documentation, code examples, avatars rewritten
* notices, modals, dropdowns
* .
* oh damn you
* checkboxes & radios
* forms
* generating tailwind classes
* i broke things
* spacing units
* typography, spacing
* positioning
* overflow
* .
* getting rid of cards for now
* formatting
* adding reset to global styles to avoid jumping layout
* change url for crayons test page to not be top-level
* additional style for indicators, colors, navigation, grid
* tabs
* backgrounds
* flexbox
* .
* .
* im not sure why schema change was here...
* same about this one...
* this file shouldnt be in my commit either
* adding comments and mentally dropping IE10 support :D
* .
* referencing boxes.scss file
* new line
* get rid of font-size from body
Co-authored-by: rhymes <rhymesete@gmail.com>