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

Fix typos with source code spell checker #4871

Closed

Conversation

coalest
Copy link
Collaborator

@coalest coalest commented Dec 19, 2024

Doesn't resolve any issue.

Description

I noticed a typo in a css class (prioirty instead of priority), which got me thinking maybe there are other typos in our code base.

So I found typos (a source code spell checker) and ran it on our code base. Turns out "essentials" is really hard to spell :D

Most of the typos are in comments, but some are in code so we probably need to do some manual testing here.

Type of change

  • Updates our documentation, but also probably some bug fixes as well (at least two places were the css classes will be different than before).

How Has This Been Tested?

Not much really

norrismei and others added 30 commits October 4, 2024 11:05
Bumps [redis](https://github.com/redis/redis-rb) from 5.2.0 to 5.3.0.
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md)
- [Commits](redis/redis-rb@v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brock Wilcox <[email protected]>
…m Categories changes to a yes/no! Obviously wrong! (#4668)

* fix(partner_groups_controller): assign item_categories when create or edit params are invalid

* fix: typo
Bumps [puma](https://github.com/puma/puma) from 6.4.2 to 6.4.3.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](puma/puma@v6.4.2...v6.4.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove filtering for active attribute on children query

* Add spec that tests for child item requests
…-status

Change State to Status on Distribution Table
Add partner group to organization. Add new partner for seed
* validate the presence of business name for a vendor

add validation for business name on vendor model, skip validation in provideable when the model is a vendor to prevent duplicate errors on invalid form submission, specs for both changes

* create migration to update a vendor's business name to its contact name if business name is blank

* move product drive participant validations out of provideable and into model instead of skipping when the provideable model is vendor

* fix arg name
* Change button from 'Promote to Admin' to 'Edit User'

* Replace system spec with request spec for link for editing user

* Replace system spec with request spec for link for editing user
…n beside Add a Partner link. Add system tests to ensure the Partner cta section has 2 links. (#4710)

Co-authored-by: Athira Kadampatta <[email protected]>
# Conflicts:
#	app/controllers/distributions_controller.rb
#	spec/rails_helper.rb
* Add view password functionality to login form

* refactored the password visiblity toggle into a Stimulus controller
user docs cont v:  draft inventory section of user guide
User docs cont vi: draft exports section of user guide
Fix inventory seeding for storage location from donations
- rename service class
- update test specs
- update report name
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting the ones that look like they could have an effect on behaviour at this time. This one.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is ok

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is good

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be better if anything

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is good

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what this does, but it's in a spec.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those look like plausibly real emails, though.

coalest and others added 13 commits December 19, 2024 18:52
* Fix flaky family requests system spec

* Fix flaky system partners children spec
…to 6.5.0 (#4813)

* build(deps-dev): bump factory_bot_rails from 6.4.3 to 6.4.4

Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails) from 6.4.3 to 6.4.4.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases)
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/main/NEWS.md)
- [Commits](thoughtbot/factory_bot_rails@v6.4.3...v6.4.4)

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

Signed-off-by: dependabot[bot] <[email protected]>

* Fix merge conflicts with main

* Update puma to 6.5.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Orner <[email protected]>
Co-authored-by: Brock Wilcox <[email protected]>
Co-authored-by: Cory Streiff <[email protected]>
We were saving a new distribution (which causes a redirect to that
distribution's show page) and then immediately clicking on the distributions
index page (which redirects as well). This introduced a race condition that
was flaky when we tried to click a link that didn't exist on the page.
We were expecting the `family_zipcodes_list` to have a certain order
but no order is guaranteed in the request.
* lowered pagination threshold in dev and staging using kaminari

* Trigger Build
…4873)

* Data Fix re started reqeusts that were actually fulfilled

* Data Fix re started reqeusts that were actually fulfilled
* build(deps-dev): bump rubocop from 1.65.1 to 1.68.0

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.65.1 to 1.68.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.65.1...v1.68.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update rubocop

* Fix linting

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Orner <[email protected]>
Co-authored-by: Brock Wilcox <[email protected]>
Co-authored-by: Cory Streiff <[email protected]>
Co-authored-by: Cory Streiff <[email protected]>
…y-report-performance

Perf: refactor DistributionsByCountry#report using raw SQL query
@cielf
Copy link
Collaborator

cielf commented Dec 20, 2024

There is one thing here that I want to talk to the planning group about. Not that the change couldn't happen, but whether that text should be in the system where it is.

Copy link
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's the status -- I've tested the ones that looked possible to change behaviour other than actually spelling on the page. One of them did, in a negative way (shifted the button to a weird place), and should be either addressed or rolled back.

I also want to bring the situation of the real emails to the planning meeting. Should that stop this from going in? Probably not, as they are already there.

app/views/admin/organizations/index.html.erb Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is ok

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is good

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is good

@coalest coalest requested a review from cielf December 21, 2024 14:45
@coalest coalest force-pushed the fix-typos-with-source-code-spell-checker branch from a74ee99 to 19d6519 Compare December 21, 2024 15:44
Copy link
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any remaining issues that are related to the changes. @dorner -- most of these are innocuous, but could you have a quick browse-through to confirm?

@coalest coalest closed this by deleting the head repository Dec 21, 2024
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.