Skip to content

Fix PiCT reported bugs + build enhancements (14) #46

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

Merged
merged 20 commits into from
Apr 16, 2025

Conversation

swoocn
Copy link
Member

@swoocn swoocn commented Jan 21, 2025

  • Add Search Filter feature.
  • Implement Seller Marker popup consistency and positioning.
  • Add Online Shopping feature in Registration Screen + Pick list feature in Buyer Screen.
  • Introduce Nigerian Yoruba language.
  • Introduce Japanese language.
  • Resolve deprecated i18n request configuration setup for internationalization on FE.
  • Update to Send/ Extract Pi Access Token to/ from Authorization Header.
  • Add Toggle Management system; admin feature.
  • [DevOps] Mod CI/ CD files to prevent accidental dependency drift.
  • Bump to v1.5.5.

[see commits]

This PR is subject to change if additional fixes + enhancements are introduced before approval.

@swoocn swoocn requested a review from tate1650 January 21, 2025 05:59
@swoocn
Copy link
Member Author

swoocn commented Jan 21, 2025

Hi @tate1650 - Could you please keep this PR open and refrain from merging until I give the word?
Thanks!

@swoocn
Copy link
Member Author

swoocn commented Mar 24, 2025

Hello @tate1650 -
We're ready to proceed with the release of the changes. Could you please review and approve accordingly?

Please note that the Online Shopping feature is still a WIP, so we've implemented a toggle system to hide it until it is determined production' ready. To ensure everything is set up correctly, you will need to create a record in the new toggles DB collection with the toggle name "onlineShoppingFeature" as shown below ->

image

You can easily add this using the Swagger UI tool (once it's fixed) with the same admin credentials used for the Sanctioned Seller Reporting [see screenshot below]. Alternatively, you may add the record manually.

image

I'll be around if you need assistance. Thanks again!

Copy link
Collaborator

@tate1650 tate1650 left a comment

Choose a reason for hiding this comment

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

Lookin' good! Left a few suggestions, most of which are not blocking a merge. There are two I'd like to address before merging though:

  1. Making sure anything online shopping-related is protected by a toggle-check on the BE. Unless the feature is in a somewhat stable state, in which case we can just aim to have that done before it goes to prod ("somewhat stable" meaning if someone like a mod is messing around and hits that endpoint then nothing in the app will break)
  2. If y'all have any interest in pursuing the embedded-SellerItem schema, are you all comfortable with the seller_items collection being dropped later on staging? We'd probably need to make the change from reference --> embedding before the model goes to prod. (Note that this item is totally irrelevant if you'd like to keep using the referenced collection instead).

@swoocn
Copy link
Member Author

swoocn commented Apr 5, 2025

Thanks for the feedback @tate1650 -
We will address the feedback and update the PR accordingly.
Please stay tuned. 👍

@DarinHajou
Copy link
Member

DarinHajou commented Apr 6, 2025

Since I can’t submit a formal review, I'll just drop a comment here.

I noticed that seller_id is being queried in SellerItem, but I don’t see an index on it. Bringing it up since it was flagged earlier and could impact performance. Also, are the /item/* routes (like add/delete) behind a feature toggle such as onlineShoppingFeature? I didn’t spot a check in the controller, wondering if that’s handled elsewhere.

Otherwise, things are looking solid!

@swoocn
Copy link
Member Author

swoocn commented Apr 6, 2025

Since I can’t submit a formal review, I'll just drop a comment here.

I noticed that seller_id is being queried in SellerItem, but I don’t see an index on it. Bringing it up since it was flagged earlier and could impact performance. Also, are the /item/* routes (like add/delete) behind a feature toggle such as onlineShoppingFeature? I didn’t spot a check in the controller, wondering if that’s handled elsewhere.

Otherwise, things are looking solid!

Hi @DarinHajou - please review the PR @ map-of-pi/map-of-pi-backend-react#254 which addresses Tate's feedback. Thx!

@swoocn
Copy link
Member Author

swoocn commented Apr 9, 2025

Hello @tate1650 - PR has been updated per your feedback. Please review the changes accordingly. I will be standing by. Thanks again!

Copy link
Collaborator

@tate1650 tate1650 left a comment

Choose a reason for hiding this comment

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

Looks great! Left one tiny comment on error messages, and had a sudden lightbulb moment about toggle stuff. If you wanna merge this and address these two items in a follow up PR I'm fine with that. Lemme know what you'd prefer to do.

@swoocn
Copy link
Member Author

swoocn commented Apr 10, 2025

I've addressed your latest PR comments - please feel free to take another look.
If everything looks good to you, I'll let you do the honors of merging. Otherwise, I'll await any additional feedback.
Once fully approved and merged, please let me know when the changes are deployed to Staging so our PM can begin testing.
Thanks again @tate1650!

@swoocn
Copy link
Member Author

swoocn commented Apr 16, 2025

Hi @tate1650 - we'll be adding a quick FE change to this PR; please refrain from merging for the time being until I give the word. Thanks again!

@swoocn
Copy link
Member Author

swoocn commented Apr 16, 2025

Hi @tate1650 - we'll be adding a quick FE change to this PR; please refrain from merging for the time being until I give the word. Thanks again!

Alright @tate1650, please go ahead and merge accordingly. Please let me know when deployed to Staging so our PM can test/ validate the changes. Thx!

@tate1650 tate1650 merged commit 24e8569 into dev Apr 16, 2025
@tate1650 tate1650 deleted the update/piCT-mod-updates_14 branch April 16, 2025 22:06
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.

3 participants