Skip to content

Commit

Permalink
Events: Use current gateway links, comments fixes (#830)
Browse files Browse the repository at this point in the history
* fix onChange and onBlur console errors (#796)

* Update indexer query (#801)

* update indexer query

* added payouts in logs

* Add formatting to Amount Field (#799)

* add comma to amount input

* add tests

* Edit proposal timeline with "don't ask again" enabled (#802)

* test for editing proposal timeline with dont ask again

* don't ask again setup in test case

* test that the first status badge change text to approved after transaction submit

* update log without having to refresh after saving changed timeline status

* show toast on timeline status updated

* a bit more timeout for the test

* scroll into views for video recording

* Feature/blog v2 (#761)

* initial

* move to v2

* fix first error

* add blog control

* rename sidebar is the blog overview

* responsiveness

* visible publish date

* add blogpostsettings

* change content layout and provider

* add analytics button

* delete feed

* clean up blog overview

* add blog v2 page

* change blog viewer

* smaller fixes

* change content layout and provider

* change back blog page

* fixed blog page with community handle to be able to track

* Every instance of blog has its own blogs communityAddonId, show only published ones and order by publishedAt

* style cancel buttons different

* basic styling

* initial testing

* blogv2 page

* get a single blog from socialdb on the blog page

* removed log added testid

* remove logs

* refactor

* npm updated and new playwright install

* move to codespaces

* added test without mocking the blogs

* remove mocking get_all_addons bc we hardcode it till it is added

* wip

* tailwind tabel

* test to be used for blog search

* simple blog search

* improve performance

* improve speed by just controlling css display property

* debounce improves performance

* update search results every 200ms

don't wait for pause in keypress

* filter blog posts instead of controlling display property

* assertions for test of blog search

* simplify blog control

* move tailwind higher up in the component hierarchy to encapsulate the entire blogv2 widget

* feat: blog updates

* test: dont ask me again >  delete and update blog

* fixed  blog tests that needed an update

* fix: test warning / errors

* remove blogs from func mockDefaultTabs

* feat: dont ask me again blogs create update delete

* clean up for review

* hide settings button until 599

* clean up comments about issue 599

* split tests into groups

* fix: create blog test

* fix: datahaschange if status changes

* css: tabs and cancel button

* css blog overview improvements

* remove unused func

* remove logs

* submitbutton improved css

* category filtering, but now search is slow..

* @petersalomonsen passing communityAddonId to blogv2 page viewer

* coderabbitai improvements

* feat: clicking on tab will show the viewer widget

* fix: change the green

* blog card description

* expectations when it comes to speed and responsiveness of search

* increase debounce timeout in input to get better performance

* move search spec into blog test folder

* configurable debouncetimeout

filter before sorting

* should be possible to select no category

* search title

* only show search/category filter if enabled in config

* processed 17 feedback points @ori-near

* fix test after merge of latest from feature/blog-v2

* fix delete blog tests with the new confirm modal

* fix test: add 500ms break after selecting category

* compatible: changed .press(control+a) to fill("") for macOS

* solve migration before creation issue

* make the default blogv2 id "blogv2"

* fix: replace hardcoded webassemblymusic

* Mirror github addon behaviour if no blog data

* fix: permission on blogv2 page

* change: configure blog text

* update input description

* update cancel button style to be the same as discard changes

* bug: loading blogs error

* feat: move submit/cancel button to the bottom of the page

* fix: delete alert dialog text

* fix: AlertDialogAction title

* fix: table active and table hover gray

* feat: display author on blog page

* fix: status pill same style as table

* fix: delete button, updated modal, switch blog modal,

* feat: click once to submit status or draft (also infra and events)

* text: fix after submitbtn update

* test: fix community test

* test: fix category tests

* style: left align search + more space between blogs

* style: category on the left

* style: blog title truncate

* style: active blog title same font size

* feat: simplified preview mode

* style: gray analytics button

---------

Co-authored-by: Peter Salomonsen <[email protected]>
Co-authored-by: Peter Salomonsen <[email protected]>

* use current gateway links

* remove log

* fix links

* test: skip blog tests

* test: fix - should edit proposal timeline

---------

Co-authored-by: Peter Salomonsen <[email protected]>
Co-authored-by: T guntenaar <[email protected]>
Co-authored-by: Peter Salomonsen <[email protected]>
  • Loading branch information
4 people authored Jun 11, 2024
1 parent 192e682 commit dc9e1d5
Show file tree
Hide file tree
Showing 58 changed files with 4,985 additions and 5,826 deletions.
83 changes: 77 additions & 6 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run code formatting check
run: npm run fmt:check
playwright-tests:
name: Playwright tests
playwright-tests-blog:
name: Blog - Playwright tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
cache: "npm"
- name: Install dependencies
run: |
npm ci
Expand All @@ -36,5 +36,76 @@ jobs:
npx playwright install
- name: Run tests
run: |
npx playwright test
npx playwright test playwright-tests/tests/blog
playwright-tests-community:
name: Community - Playwright tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: |
npm ci
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mpeterdev/bos-loader/releases/download/v0.7.1/bos-loader-v0.7.1-installer.sh | sh
npx playwright install-deps
npx playwright install
- name: Run tests
run: |
npx playwright test playwright-tests/tests/community
playwright-tests-other:
name: Other - Playwright tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: |
npm ci
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mpeterdev/bos-loader/releases/download/v0.7.1/bos-loader-v0.7.1-installer.sh | sh
npx playwright install-deps
npx playwright install
- name: Run tests
run: |
npx playwright test playwright-tests/tests/other
playwright-tests-proposal:
name: Proposal - Playwright tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: |
npm ci
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mpeterdev/bos-loader/releases/download/v0.7.1/bos-loader-v0.7.1-installer.sh | sh
npx playwright install-deps
npx playwright install
- name: Run tests
run: |
npx playwright test playwright-tests/tests/proposal
playwright-tests-sunset:
name: Sunset - Playwright tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: |
npm ci
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mpeterdev/bos-loader/releases/download/v0.7.1/bos-loader-v0.7.1-installer.sh | sh
npx playwright install-deps
npx playwright install
- name: Run tests
run: |
npx playwright test playwright-tests/tests/sunset
Loading

0 comments on commit dc9e1d5

Please sign in to comment.