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

Enhance announcements UI #606

Merged
merged 2 commits into from
Dec 29, 2023

Conversation

Megha-Dev-19
Copy link
Collaborator

@Megha-Dev-19 Megha-Dev-19 commented Dec 27, 2023

Resolves #605

<div className="w-100" style={{ height: "200px" }} />
}
src="${REPL_MOB}/widget/MainPage.N.Post"
src="near/widget/Posts.Post"
Copy link
Contributor

Choose a reason for hiding this comment

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

Since we want this to work in both mainnet and testnet, could you please use replacements?

${REPL_NEAR}

These replacements are applied on build during the dev script, you can find the value it is replaced with in replacements..json. This allows the code to work across regions

@elliotBraem elliotBraem merged commit 8a0ca66 into NEAR-DevHub:develop Dec 29, 2023
1 of 2 checks passed
@elliotBraem elliotBraem deleted the update-announcements-UI branch December 29, 2023 08:04
ailisp pushed a commit that referenced this pull request Jan 18, 2024
* feat: Community Announcements Page (#567)

* fix solution action

* added community announcements UI

* added compose field

* minor css updates

* use community data instead of dummy data

* minor UI updates

* add mentions notifications

* remove unecessary code

* remove hover effect

* sets up for contract, adds admin check

* fix: Fixed deposit error for grant_write_permissions call to social.near (#563)

* add elliot and thomas to CODEOWNERS (#570)

* Fix telegram string and array issue (#571)

* fix solution action

* fix telegram string and array issue

* update telegram_handle

* fix handle and URL

* fix tests

* prettier update

* fix tests

* prettier update

* Bugfix/559 error flashes (#569)

* fix: flash on home screen

* fix: error flash on addon tabs

* fix: telegram bug

* test fix Tile error flash

* fix: catch Tile error flash in every component it is used

* remove console.log

* Playwright test for input validatiojn (#577)

* feature: Added input validation when creating and editing a community (#172)

* feature: Added input validation when creating and editing a community

* feature: Added input validation when creating and editing a community

* feature: Added input validation when creating and editing a community

* test: Added test for input validation

* fix CI (#581)

* fix the test case

* Improve robustness of admin moderator tests

* Clear draft changes after txn is approved (#588)

* remove `onDraftStateChange` from editor

* updated changes

* move txn hash as props

* update draft change

---------

Co-authored-by: Elliot Braem <[email protected]>
Co-authored-by: T guntenaar <[email protected]>
Co-authored-by: Espen Simensen <[email protected]>

* replacements for testnet

* allow no communities found

* attach 2N when creating a community

* configures with updated function call

* updated announcements UI (#606)

Co-authored-by: Elliot Braem <[email protected]>

* updates feed

* working feed

* show preview

* fix testnet

* Revert "initial typescript support  (#468)"

This reverts commit 8f28dbb.

* Move community Github and Board widgets from devgogigs to devhub (#561)

* fix solution action

* added required components

* remove unnecessary code

* add hidden btn

* update github configurator

* prettier update

* fix flash error issue

* more improvements

* prettier update

* refactor code

* add comment

* added state for when no configurations exists

* fix pagination error

* handle error

* fix map error

* fix amount issue

* updated UI

* decoupled state

* remove replace fn

* remove title on new column

---------

Co-authored-by: T guntenaar <[email protected]>

* Kanban board UI enhancement (#620)

* fix solution action

* added required components

* remove unnecessary code

* add hidden btn

* update github configurator

* prettier update

* fix flash error issue

* more improvements

* prettier update

* refactor code

* add comment

* added state for when no configurations exists

* fix pagination error

* handle error

* fix map error

* fix amount issue

* updated UI

* decoupled state

* added styling

* added table view

* updated UI for github

* more style updates

* added border to table

* refactor code

* cleaned UI

* refactor code

* added sorting mechanism

* prettier update

* reduce border size

* remove table and few style updates

* fix normalize error and suggestive UI changes

* fix .map error

* remove table view data

* update to devhub.near

* fix posts for devgovgigs.near

* Points tests to devhub.near rather than devgovgigs.near (#595)

* converts devgovgigs to devhub

* fix: type

* fix feeds

* Announcements tests (#639)

* added few announcements tests

* hide card when no posts exists

* add more tests and fix announcements UI

* add feed tests

* fixed UI

* fix community tests

* tests

* format

* working test

* format

* posts legacy

---------

Co-authored-by: Megha-Dev-19 <[email protected]>
Co-authored-by: T guntenaar <[email protected]>
Co-authored-by: Espen Simensen <[email protected]>
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.

2 participants