planet-webapp
planet-webapp copied to clipboard
Feature/myforest map popup
-
Feature-> popup for registered tree
-
Feature-> popup for contribution tree
-
[ ] integrate api
-
[ ] translation
-
[ ] define type
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| planet-webapp | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 27, 2024 1:32pm |
| planet-webapp-multi-tenancy-setup | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 27, 2024 1:32pm |
1 Ignored Deployment
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| planet-webapp-temp | ⬜️ Ignored (Inspect) | Jun 27, 2024 1:32pm |
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai generate interesting stats about this repository and render them as a table.@coderabbitai show all the console.log statements in this repository.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.@coderabbitai help me debug CodeRabbit configuration file.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (invoked as PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto do a full review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai configurationto show the current CodeRabbit configuration for the repository.@coderabbitai helpto get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
Currently this PR is breaking when trying to check it out. After loading the new version of the profile, after a few seconds I get either a client side error or a completely white screen. As there are no markers on the map, I cannot check the functionality of the pop-up.
@prachigarg19 , please make sure that the unit is not hard coded but is rather taken from the response, I have test donations to m2 projects, but the pop-up shows trees as the unit
Should we make adjustments to the Registered Trees popups as well?
Some observations:
- Fonts for "Registered" and the date are a little too small, and the colors don't look quite right.
- The shadow outside the Registered tree popup seems to be different, it does not match the shadow for the Donation popup. The Registered tree popup does not look as distinct from the map in the background, as a result.
- I know the Figma design has an arrow, but the arrow here doesn't look great and might affect functionality. It's separated from the main popup body with a line. Also, the popup disappears as soon as I move off the marker, unlike for the Donation popup where I can hover above the popup itself to keep it in view. Should the arrow be removed? If not, it needs to look continuous with the popup body, and be closer to the marker itself so that it can remain in view when the user tries to hover above it.