Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features: Enable and Ship Developer Specialties, Badge Filters #71

Merged
merged 7 commits into from
Mar 18, 2024

Conversation

chtzvt
Copy link
Member

@chtzvt chtzvt commented Mar 18, 2024

This pull request closes #70, bringing in the latest version of the specialties UI/UX from upstream (joemasilotti/railsdevs.com#868). It also enables the dormant badge filter, which I believe is quite useful, and enables these features to run in production.

Pull request checklist

  • My code contains tests covering the code I modified
  • I linted and tested the project with bin/check
  • I added significant changes and product updates to the changelog

dependabot bot and others added 7 commits March 18, 2024 10:26
Bumps [honeybadger](https://github.com/honeybadger-io/honeybadger-ruby) from 4.9.0 to 5.7.0.
- [Release notes](https://github.com/honeybadger-io/honeybadger-ruby/releases)
- [Changelog](https://github.com/honeybadger-io/honeybadger-ruby/blob/master/CHANGELOG.md)
- [Commits](honeybadger-io/honeybadger-ruby@v4.9.0...v5.7.0)

---
updated-dependencies:
- dependency-name: honeybadger
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pagy](https://github.com/ddnexus/pagy) from 5.2.0 to 7.0.11.
- [Release notes](https://github.com/ddnexus/pagy/releases)
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md)
- [Commits](ddnexus/pagy@5.2.0...7.0.11)

---
updated-dependencies:
- dependency-name: pagy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [apnotic](https://github.com/ostinelli/apnotic) from 1.7.0 to 1.7.1.
- [Commits](ostinelli/apnotic@1.7.0...1.7.1)

---
updated-dependencies:
- dependency-name: apnotic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the erb_lint group with 1 update: [erb_lint](https://github.com/Shopify/erb-lint).


Updates `erb_lint` from 0.1.2 to 0.1.3
- [Release notes](https://github.com/Shopify/erb-lint/releases)
- [Commits](Shopify/erb_lint@v0.1.2...v0.1.3)

---
updated-dependencies:
- dependency-name: erb_lint
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: erb_lint
...

Signed-off-by: dependabot[bot] <support@github.com>
* Modeling, migrations, and seeds

* Admin CRUD

* UI for displaying developer specialties

* Disable rate limiting in development

Sometimes requesting a bunch of assets via Active Storage can hit the
rate limit.

* Feature flag to hide specialties for now

* Remove ivar from partial

* Namespace controller and clean up disabled button

* Disable linters that get in way of multiline calls

* Use Rails.root.join directly

* Increase spacing in developer form fields

* Specialty checkbox selection

* Limit specialties to 5

* Small form design tweaks

* Fix CI - unused + missing translations

* Don't downcase specialties; start seed backfill

* Move badges logic/queries to concern

* Match design of other filter labels

* Don't send "commit" URL param when submitting form

* Filtering by specialty

* Filtering by "High response rate" badge

* Update specialties seed

* Normalize locales

* mailto: link to suggest new developer specialty

* Add new developer specialties

* WIP

* Specialty filters JS/no JS initial version

* Initial version of specialty adding/removing

* Make sure the pill data is submitted when the form is submitted

* Initial version ready

* Writing tests

* Refactoring: renaming attach_template_tags_controller to javascript_enabled_controller

* Don't duplicate a pill

* Minor refactoring

* Refactoring: extract method

* Refactor: dropdown_pill_controller

* Minor refactor

* Resuse specialty_dropdown_component

* Refactor dropdown_pill controller to be scoped to element

* Remove unused files

* Remove unused files, minor refactor

* Cleanup

* Linting

* Update changelog with #820

* Adjust for extra developer fixture

---------

Co-authored-by: Joe Masilotti <joe@masilotti.com>
Co-authored-by: Mia Sinek <mia@miasinek.com>
@chtzvt chtzvt merged commit 2099378 into main Mar 18, 2024
@chtzvt chtzvt deleted the development branch March 18, 2024 17:33
chtzvt added a commit that referenced this pull request Mar 27, 2024
* build(deps): bump honeybadger from 4.9.0 to 5.7.0

Bumps [honeybadger](https://github.com/honeybadger-io/honeybadger-ruby) from 4.9.0 to 5.7.0.
- [Release notes](https://github.com/honeybadger-io/honeybadger-ruby/releases)
- [Changelog](https://github.com/honeybadger-io/honeybadger-ruby/blob/master/CHANGELOG.md)
- [Commits](honeybadger-io/honeybadger-ruby@v4.9.0...v5.7.0)

---
updated-dependencies:
- dependency-name: honeybadger
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump pagy from 5.2.0 to 7.0.11

Bumps [pagy](https://github.com/ddnexus/pagy) from 5.2.0 to 7.0.11.
- [Release notes](https://github.com/ddnexus/pagy/releases)
- [Changelog](https://github.com/ddnexus/pagy/blob/master/CHANGELOG.md)
- [Commits](ddnexus/pagy@5.2.0...7.0.11)

---
updated-dependencies:
- dependency-name: pagy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump apnotic from 1.7.0 to 1.7.1

Bumps [apnotic](https://github.com/ostinelli/apnotic) from 1.7.0 to 1.7.1.
- [Commits](ostinelli/apnotic@1.7.0...1.7.1)

---
updated-dependencies:
- dependency-name: apnotic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump the erb_lint group with 1 update

Bumps the erb_lint group with 1 update: [erb_lint](https://github.com/Shopify/erb-lint).

Updates `erb_lint` from 0.1.2 to 0.1.3
- [Release notes](https://github.com/Shopify/erb-lint/releases)
- [Commits](Shopify/erb_lint@v0.1.2...v0.1.3)

---
updated-dependencies:
- dependency-name: erb_lint
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: erb_lint
...

Signed-off-by: dependabot[bot] <support@github.com>

* Feature: Developer Specialties Combobox (#70)

* Modeling, migrations, and seeds

* Admin CRUD

* UI for displaying developer specialties

* Disable rate limiting in development

Sometimes requesting a bunch of assets via Active Storage can hit the
rate limit.

* Feature flag to hide specialties for now

* Remove ivar from partial

* Namespace controller and clean up disabled button

* Disable linters that get in way of multiline calls

* Use Rails.root.join directly

* Increase spacing in developer form fields

* Specialty checkbox selection

* Limit specialties to 5

* Small form design tweaks

* Fix CI - unused + missing translations

* Don't downcase specialties; start seed backfill

* Move badges logic/queries to concern

* Match design of other filter labels

* Don't send "commit" URL param when submitting form

* Filtering by specialty

* Filtering by "High response rate" badge

* Update specialties seed

* Normalize locales

* mailto: link to suggest new developer specialty

* Add new developer specialties

* WIP

* Specialty filters JS/no JS initial version

* Initial version of specialty adding/removing

* Make sure the pill data is submitted when the form is submitted

* Initial version ready

* Writing tests

* Refactoring: renaming attach_template_tags_controller to javascript_enabled_controller

* Don't duplicate a pill

* Minor refactoring

* Refactoring: extract method

* Refactor: dropdown_pill_controller

* Minor refactor

* Resuse specialty_dropdown_component

* Refactor dropdown_pill controller to be scoped to element

* Remove unused files

* Remove unused files, minor refactor

* Cleanup

* Linting

* Update changelog with #820

* Adjust for extra developer fixture

---------

Co-authored-by: Joe Masilotti <joe@masilotti.com>
Co-authored-by: Mia Sinek <mia@miasinek.com>

* codeboxx badge: add scope and make searchable

* Feat: enable specialties and badge filters

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Masilotti <joe@masilotti.com>
Co-authored-by: Mia Sinek <mia@miasinek.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant