Mac Siri
afa73e06e3
Replace Webpacker with Esbuild ( #20470 )
...
* Migrate to esbuild WIP
* Add exclude
* Remove redundant file
* Move file
* Move to javascript_include_tag
* Lint fix
* WIP
* WIP
* Add watch mode to esbuild WIP
* Get jest working
* Remove babel
* Revert "Remove babel"
This reverts commit 6da35260aa19d6f97f586deb66c0ecaf48433b73.
* More WIP
* Got image to load
* WIP
* Resolve audit
* Lint fix
* WIP
* Fix jest spec
* [CI] Remove asset-restore for test build stage
* Production compliant
* Temp disable sourcemap
* Update glob
* Add esbuild helper to stimulus
* Import fragment
* Temp disable coverage to see failing tests
* Fix broken spec
* Address lint
* Set proper es6 target
* Use esbuild for everything
* wait what
* Revert "Set proper es6 target"
This reverts commit 98f5278093421baa8ffe2ca580845b01c1a1eadf.
* Revert "Use esbuild for everything"
This reverts commit 0ac46738f07ffcb6af095ccb1ffa5e439b7fefa3.
* Replace uglifier with terser
* New compiled assets version
* Remvoe honeybadger-io/webpack
* Remove cypress coverage checks for now
* Update jsconfig.json
* Update docker-compose
* Remove public/packs-test from ci cache
2024-01-25 20:29:21 +00:00
Miguel Nieto A
148f242892
Replace listings tag component ( #16855 )
...
* wip
* feat: ✨ Use MultiSelectAutocomplete for Tags
* feat: ✨ Add additional tags for listings
* refactor: ♻️ Use preact/hooks and refactor propTypes
* fix: 🐛 Fix addiional tags support depending on the selected category
- Add slug to returned array in select_options_for_categories helper
- Differentiate the fields categoryId and categorySlug
* fix: 🐛 Adjust propTypes
* test: 🚨 Change test for select_options_for_categories helper
* refactor: ♻️ Apply requested changes
* refactor: ♻️ Remove border prop - default is true
* test: 🚨 Add test suite for ListingTagsField component
* refactor: ♻️ Apply requested changes
* refactor: ♻️ Remove unnecessary forEach + Improve code legibility
* docs: 📚 Remove topTags from hook documentation
* refactor: ♻️ Use the alias for crayons folder + Use loclaCompare in sort
* test: 🚨 Clean up mock response
* fix: 🐛 Reorder styles
* style: 🎨 Add comment to TagAutocompleteOption/Selection components
2022-03-30 16:51:40 +01:00
Josh Soref
5324eb1477
Spelling fixes to live code ( #15670 )
...
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-12-06 12:11:25 +02:00
Michael Kohl
09828853f6
✂✂✂ Remove Connect ( #14734 )
...
* Remove Connect
* Remove more Connect specs
* Remove a lot more Connect code
* 🚮
* It all has to go
* Explicitly add httpclient
* Update application layout
* Remove messages association from User
* Start fixing specs
* reintroduce util function and refactor references
* Remove Connect Cypress test
* Fix more specs
* Remove Connect from listings
* Ignore contact_via_connect column on listings
* Remove contact_via_connect usages
* Ignore mod_chat_channel_id on tags
* Drop Connect tables
* Remove email_connect_messages from user notification settings
* Re-add httpclient 2.8.3
This was mistakenly removed as a merge conflict
* Don't need to exclude removed chat channel file
* Remove unneeded style for chat channels
* Remove unneeded channel list prop type
* Remove chat channels index/connect-link from getPageEntries
* Re-add comment from httpclient in Gemfile
* Remove connect references from mailers
Tag Moderators no longer have a chat channel
No longer will users be notified about new messages (there won't be
any)
No longer will users be notified about channel invites (you can't
invite anyone anymore)
* Don't configure Pusher and remove PUSHER_* from .env_sample
since it's removed from gemfile, the Pusher constant will not resolve, if this is
configured in the environment variables we'll fail to boot.
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
Co-authored-by: Dan Uber <dan@forem.com>
2021-11-18 08:21:00 -06:00
yheuhtozr
824397b93f
views/listings etc i18n ( #15040 )
...
* views/listings etc i18n
* helper labels
* remove ja.yml
* Update edit.html.erb
* Apply suggestions from code review
Co-authored-by: Michael Kohl <citizen428@forem.com>
* Update delete_confirm.html.erb
* Update edit.html.erb
* Update fr.yml
* Update edit.html.erb
Co-authored-by: Michael Kohl <citizen428@forem.com>
2021-10-27 16:37:29 +01:00
Andrew Bone
c9e4227c59
crayons-notice accessibility improvements (#13273 )
...
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Add roles to crayons-notice
* Update app/assets/javascripts/initializers/initializeCommentsPage.js.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/badge_achievements/award.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/broadcasts/index.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/configs/_apple_auth_provider_settings.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/configs/_form_submission.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/pages/sponsors.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/shared/authentication/_email_registration_form.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/users/_account.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/shared/authentication/_initial_account_wizard.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/users/edit.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/configs/show.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/configs/show.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/feedback_messages/_feedback_message.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/html_variants/show.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/pages/index.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/pages/index.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/liquids/_user_subscription.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/profile_fields/index.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/tags/edit.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/users/gdpr_delete_requests/index.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/articles/_actions.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/articles/_search.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/articles/show.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/articles/show.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/articles/tag_index.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/comments/_comment_quality_marker.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/comments/deleted_commentable_comment.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/admin/users/_notes.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/dashboards/following_tags.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/devise/invitations/edit.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/events/index.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/listings/_form.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/listings/edit.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
* Update app/views/pages/_editor_frontmatter_help.html.erb
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-04-14 13:32:57 +01:00
Robin Gagnon
2c10fb0417
[deploy] fix: Clear chat input after Enter key submit ( #10487 )
...
* fix: Clear chat input after Enter key submit
* fix: Rename Composer component
* test: Add integration tests for input value
* After pressing Enter
* After clicking Send
* After clicking Save edit
* After clicking Close edit
2020-10-08 14:51:36 -04:00
ludwiczakpawel
90d04a73db
Crayonsification of Listings form ( #10429 )
...
* i dont know how to test
* fix i guess
* layout update
* layout updates
* edit
* edit listing
* fix
* tags field
* specs|
* Update app/javascript/listings/__tests__/ContactViaConnect.test.jsx
Co-authored-by: Fernando Valverde <fernando@visualcosita.com>
Co-authored-by: Fernando Valverde <fernando@visualcosita.com>
2020-09-30 09:14:48 +02:00
Michael Kohl
7f75f99560
[deploy] Rename classified listings ( #7910 )
...
* Change models and related files
* Update controllers and specs
* More renaming
* Seek and destroy, I mean search and replace
* Round up the stragglers
* Ground control to Major Travis...
* More fixes
* PR feedback
* Various fixes
* Rename view
* Fix list query builder
* Unify request specs
* Fix some API spec errors
* Fix remaining API specs
* Make spec conform to API
* Fix leftover problems
* Fix JS tests
* Fix column name in select
* Fix API specs
* Fix search specs
* Paging Mr. Travis
2020-05-27 13:35:09 +00:00