Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

[FEATURE] Improvement - char limit on tags #9762

Merged
merged 7 commits into from
Nov 28, 2023

Conversation

pratik9818
Copy link
Contributor

@pratik9818 pratik9818 commented Nov 10, 2023

Fixes Issue

closes #9345

Changes proposed

Check List (Check all the applicable boxes)

  • [ x] My code follows the code style of this project.
  • My change requires changes to the documentation.
  • [ x] I have updated the documentation accordingly.
  • [ x] All new and existing tests passed.
  • [x ] This PR does not contain plagiarized content.
  • [ x] The title of my pull request is a short description of the requested changes.

Screenshots

Screenshot 2023-11-09 233120 Screenshot 2023-11-10 234926 Screenshot 2023-11-10 235013

Note to reviewers

@github-actions github-actions bot added the 📖 docs Documentation pages label Nov 10, 2023
@akash19coder
Copy link
Contributor

@pratik9818 I have noticed there are so many formatting issues in the files where you have made changes. Please format your code and push the formatted code🙂.

Copy link
Member

@accodes21 accodes21 left a comment

Choose a reason for hiding this comment

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

Looks good

pages/docs/how-to-guides/editing-forms.mdx Outdated Show resolved Hide resolved
@pratik9818
Copy link
Contributor Author

pratik9818 commented Nov 17, 2023

hi @SaraJaoude , I completely understand you're busy. I would be grateful if you could take some time to review the pull request because i love to work on another issue so it would be great if this will get merge.I look forward to hearing your thoughts on the changes if something needs to add or remove in code .

cls Outdated
branch.main.remote=origin
branch.main.merge=refs/heads/main
branch.char.remote=origin
branch.char.merge=refs/heads/char
Copy link
Member

@eddiejaoude eddiejaoude Nov 17, 2023

Choose a reason for hiding this comment

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

I don't think this file is needed - please remove and add it to your gitignore

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

@@ -11,10 +18,22 @@ export default function TagsInput({ tags, onTagAdd, onTagRemove }) {
backspace: 8,
};

const maxTagChar = 32;
Copy link
Member

Choose a reason for hiding this comment

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

I think this can be renamed to maxLength because it is already in the tag component

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

if (e.keyCode === comma || inputValue.endsWith(",")) {
const newTag = inputValue.trim().replace(/,/g, "");
let newTag = inputValue.trim().replace(/,/g, "");
Copy link
Member

Choose a reason for hiding this comment

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

why is this changed required?

Copy link
Member

@eddiejaoude eddiejaoude left a comment

Choose a reason for hiding this comment

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

Looks good 👍 I have left inline comments

Also it breaks on the manage event page add/edit with tags

Screenshot 2023-11-17 at 18 23 36

@pratik9818
Copy link
Contributor Author

@eddiejaoude , should i update the tag description in event page as well , like a profile page
Screenshot 2023-11-18 003534

@eddiejaoude
Copy link
Member

eddiejaoude , should i update the tag description in event page as well , like a profile page

yes please make it consistent

Can you also resolve the conflicts please

@pratik9818 pratik9818 closed this Nov 17, 2023
@github-actions github-actions bot added the issue linked Pull Request has issue linked label Nov 17, 2023
@eddiejaoude
Copy link
Member

Did you mean to close the PR?

No need to force push, commits will be squashed, plus this makes reviewing very difficult

@pratik9818
Copy link
Contributor Author

i did not do nothing, i don't know how it happend , what should i do now ?

@eddiejaoude
Copy link
Member

You can see from the timeline in the issue above your comment that you closed and forced pushed to your branch

Screenshot 2023-11-17 at 19 37 24

I am not sure, I never force push. Try to reopen the PR

@pratik9818 pratik9818 reopened this Nov 17, 2023
@pratik9818
Copy link
Contributor Author

@eddiejaoude , i reopend the PR

@eddiejaoude
Copy link
Member

Oh your force push undid my changes I made 😞 - I will look to make them again soon

@pratik9818
Copy link
Contributor Author

pratik9818 commented Nov 17, 2023

Apology @eddiejaoude , i will keep in mind next time . But i made the all changes you said to changed

@eddiejaoude
Copy link
Member

Apology @eddiejaoude , i will keep in mind next time . But i made the all changes you said to changed

no problem, I made additional changes in addition to the comments

@pratik9818
Copy link
Contributor Author

hi @eddiejaoude what should i do now , i mean, is their any changes i have to do ?

@@ -247,8 +247,7 @@ export default function Profile({ BASE_URL, profile, fileExists }) {
setShowNotification={setShowNotification}
/>
<p className="text-sm text-primary-medium-low dark:text-primary-low-high">
Separate tags with commas and Maximum 32 characters
allowed in each tag.
Separate tags with commas (max 32 characters).
Copy link
Member

Choose a reason for hiding this comment

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

why do my inline changes keep getting removed?

Copy link
Member

@eddiejaoude eddiejaoude left a comment

Choose a reason for hiding this comment

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

The additional changes seem to have moved the PR backwards and the package lock file has also been added, please remove

@pratik9818
Copy link
Contributor Author

i am working on those issues

@eddiejaoude
Copy link
Member

Ok if you need any help let us know

@pratik9818
Copy link
Contributor Author

pratik9818 commented Nov 22, 2023

@eddiejaoude can i restart my char branch like updating char branch same as this project main branch because i think i am unable to update or back all those changes which u mentioned, or create new PR. can u help me out from this.

@pratik9818
Copy link
Contributor Author

Status - still fixing it.

@pratik9818 pratik9818 reopened this Nov 23, 2023
@github-actions github-actions bot removed the 📖 docs Documentation pages label Nov 23, 2023
@github-actions github-actions bot added the 📖 docs Documentation pages label Nov 23, 2023
@pratik9818
Copy link
Contributor Author

@eddiejaoude i fixed the issue and i had to hard push code for solveing that issue . kindly can you check ?
extremely sorry for your trouble .

@eddiejaoude
Copy link
Member

i fixed the issue and i had to hard push code for solveing that issue . kindly can you check ? extremely sorry for your trouble .

Looks good, thank you for fixing, but force push is probably what is causing all the problems. I left a tiny inline comment

Copy link
Member

@eddiejaoude eddiejaoude left a comment

Choose a reason for hiding this comment

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

Thank you 👍

@eddiejaoude eddiejaoude merged commit eac304e into EddieHubCommunity:main Nov 28, 2023
13 checks passed
@pratik9818
Copy link
Contributor Author

Thank you 👍

Thank you @eddiejaoude for supporting

@pratik9818 pratik9818 deleted the char branch November 30, 2023 15:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📖 docs Documentation pages issue linked Pull Request has issue linked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Improvement - char limit on tags
4 participants