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

feat: update proposal description #1425

Merged
merged 4 commits into from
Dec 19, 2024
Merged

Conversation

euharrison
Copy link
Contributor

Update proposal description

  • Render text until a max-height of 350px
  • Enable links and line breaks

We can upgrade the format support for a markdown, for example. But I suggest to discuss this a little bit more before implementing it

closes #1406

Screen.Recording.2024-12-18.at.17.38.35.mov

const regex = /(http.*)/;
return string.split(regex).map((part, index) =>
regex.test(part) ?
<a key={index} href={part} rel="noreferrer nofollow">
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a target="_blank" here as well? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great observation! Thanks!

@euharrison euharrison merged commit 00d5933 into main Dec 19, 2024
10 checks passed
@euharrison euharrison deleted the feat/proposal-description branch December 19, 2024 13:31
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.

Governance page description box alterations to show more info on landing
2 participants