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

Release/v3.6.0 #68

Merged
merged 112 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
d24c4f6
chore: ASC-00000 - css module typescript config (#233)
bonanaaaaaa Apr 9, 2024
54c354e
fix: ASC-21254 - align api signature for draft page (#210)
chaiwattsw Apr 9, 2024
b823c8a
fix: ASC-21249 - align story tab component props (#203)
chaiwattsw Apr 9, 2024
f3fdbe0
fix: ASC-21260 - align comment tray component props (#202)
chaiwattsw Apr 9, 2024
3844fcf
fix: ASC-21404 - AmityViewStoryPage signature alignment (#209)
chaiwattsw Apr 9, 2024
d383e4c
feat: add to support 6 users for storybook (#238)
ptchayap Apr 10, 2024
f9e2f4d
feat: ASC-00000 - use more env from secrets (#239)
ptchayap Apr 10, 2024
a10ce17
feat: ASC-00000 - add more storybook user (#240)
ptchayap Apr 10, 2024
1451795
fix: permission (#244)
chaiwattsw Apr 10, 2024
42fd40b
fix: ASC-21393 - refactor customization 4.0 (#211)
chaiwattsw Apr 11, 2024
be5c85b
feat(chat): ASC-0000 - Chat V4 big chunk 1 (#214)
frankent Apr 12, 2024
f826ff4
feat(chat): ASC-0000 - export compose bar (#258)
frankent Apr 12, 2024
b26358e
feat: export v4 provider (#259)
ptchayap Apr 12, 2024
7f1b545
Release/v4.0.0 beta.1 (#262)
ptchayap Apr 12, 2024
40bb79a
fix: ASC-00000 - export type (#263)
ptchayap Apr 12, 2024
f1f1106
fix: ASC-00000 - fix provider v4 props (#261)
chaiwattsw Apr 12, 2024
f1ae3bd
Release/v4.0.0 beta.2 (#265)
ptchayap Apr 17, 2024
4f55e38
feat: ASC-20277 - flag unflag message (#267)
ptchayap Apr 19, 2024
deb28b1
fix: ASC-00000 - remove sheet loading state (#271)
ptchayap Apr 22, 2024
4621765
fix: ASC-21913 - type and optional field on config (#268)
ptchayap Apr 22, 2024
ff4f4d3
fix: add error state on delete message (#269)
ptchayap Apr 22, 2024
e47b597
fix: ASC-21767 - mention border when got mention (#272)
ptchayap Apr 22, 2024
c46baa7
feat: ASC-21691 - add hyperlink style to primary color (#270)
ptchayap Apr 22, 2024
ac7c5f6
fix(social): asc-00000 use internal path (#266)
frankent Apr 22, 2024
278c60a
feat: ASC-17980 - global feed story targets tab and story target circ…
chaiwattsw Apr 23, 2024
7799451
feat(chat): ASC-00000 - Muted + Banned channel (#276)
frankent Apr 23, 2024
60cdada
feat(chat): ASC-00000 - fix composebar styling + limit 200 character …
frankent Apr 23, 2024
af4f290
fix: ASC-21913 - config type (#278)
ptchayap Apr 23, 2024
f7c1934
fix: add blocked word + not allowed link (#280)
frankent Apr 23, 2024
0698b8e
fix: icon (#281)
chaiwattsw Apr 23, 2024
fcbaf43
fix: using v3 and v4 provider separately for each stories (#284)
bonanaaaaaa Apr 24, 2024
f399aa4
fix: ASC-00000 - confirm context (#285)
bonanaaaaaa Apr 24, 2024
20878a7
fix: ASC-00000 - notification context (#286)
bonanaaaaaa Apr 24, 2024
0197c27
fix: ASC-00000 - add login step on UiKitProvider (#287)
bonanaaaaaa Apr 24, 2024
0942cb0
fix: message remain on compose bar after sending success (#289)
ptchayap Apr 24, 2024
ab87cd0
fix: user muted state (#293)
ptchayap Apr 25, 2024
a87b1cf
fix: ASC-22026 - moderator cannot send message on muted channel (#294)
ptchayap Apr 25, 2024
b47ba77
fix: ASC-219999 - incorrect comment count color (#283)
chaiwattsw Apr 25, 2024
1bfad59
fix: ASC-21979 - can't click header on video preview (#282)
chaiwattsw Apr 25, 2024
e141fb8
fix: use v4 (#295)
chaiwattsw Apr 25, 2024
5b229e2
fix: ASC-20502 - shouldAllowCreation condition (#296)
chaiwattsw Apr 25, 2024
4955abc
fix: ASC-20883 - remove latestComments prop (#290)
bonanaaaaaa Apr 25, 2024
313ffdf
fix: add v3 provider (#298)
bonanaaaaaa Apr 25, 2024
0052c57
fix: ASC-21980 - hyper link background color (#299)
chaiwattsw Apr 25, 2024
ae84a93
feat: ASC-21665 - darkmode config (#279)
ptchayap Apr 25, 2024
108a81c
fix: ASC-21980 - fix remove link button style (#300)
chaiwattsw Apr 25, 2024
fc7745e
fix: character limit (#302)
ptchayap Apr 25, 2024
d188c37
fix: change permission to check if user is a moderator (#304)
ptchayap Apr 26, 2024
d79d39a
fix: ASC-22060 - remove onBack() on draft page (#303)
chaiwattsw Apr 26, 2024
663520d
fix: ASC-21980 - hyperlink style (#301)
chaiwattsw Apr 26, 2024
8c0ad0c
fix: ASC-22063 - fix story global feed pagination (#305)
chaiwattsw Apr 26, 2024
7ac3965
fix: official condition (#306)
chaiwattsw Apr 26, 2024
04e1a61
fix: ASC-19646 - notification error when failed create story (#307)
chaiwattsw Apr 26, 2024
72b7abf
fix: ASC-22060 - navigate to community when create story (#308)
chaiwattsw Apr 26, 2024
ebf39f0
fix: ASC-21985 - navigate story target for global feed story (#309)
chaiwattsw Apr 26, 2024
6120a05
fix: ASC-21970 - story uploading state (#297)
chaiwattsw Apr 26, 2024
e1e17e9
fix: notification style (#311)
chaiwattsw Apr 26, 2024
2b05e24
fix: add onAllStoriesEnd (#312)
chaiwattsw Apr 26, 2024
bfe560c
Release/v4.0.0 beta.3 (#314)
ptchayap Apr 26, 2024
acd2075
chore(sdk): ASC-00000 - custom build ci (#316)
bonanaaaaaa Apr 29, 2024
61368cc
feat: only creator or story permission can see impression (#319)
chaiwattsw Apr 30, 2024
3dc7893
feat: ASC-22084 - StoryPreview component for Console (#317)
chaiwattsw Apr 30, 2024
3919fe7
update readme (#323)
frankent May 2, 2024
baebc18
feat: ASC-20558 - swipe down gesture to close story (#321)
chaiwattsw May 7, 2024
240f0e5
fix: ASC-22263 - hyperlink background (#326)
chaiwattsw May 8, 2024
e3e1dcd
fix: ASC-22263 - hyperlink doesn't show in view story page (#328)
chaiwattsw May 9, 2024
3c6cbf4
fix: ASC-22264 - reply comment margin (#329)
chaiwattsw May 10, 2024
bbcd949
fix: ASC-21792 - comment list infinite scroll (#330)
chaiwattsw May 13, 2024
3528ce4
Release/v4.0.0 beta.4 (#334)
bonanaaaaaa May 13, 2024
1e41eef
fix: to support un config value (#340)
ptchayap May 15, 2024
2662160
fix: hyperlink long text (#335)
chaiwattsw May 20, 2024
ccdbbdd
fix: hyperlink custom text input max length (#336)
chaiwattsw May 20, 2024
3ebfc1a
fix: ASC-220001 - share story button (#337)
chaiwattsw May 20, 2024
067ff98
fix: ASC-21590 - hyperlink ui (#347)
chaiwattsw May 20, 2024
83a1d34
fix: story commu condition (#346)
chaiwattsw May 20, 2024
fe8aab8
feat: ASC-22133 - custom reaction provider (#325)
ptchayap May 20, 2024
eca154a
fix: ASC-22623 - story video (#349)
chaiwattsw May 24, 2024
596d158
feat(reaction): update condition (#350)
frankent May 24, 2024
2d95eb1
fix(reaction): ASC-22611 - update missing ui and action to remove rea…
frankent May 24, 2024
1799fe5
fix: create story condition (#352)
chaiwattsw May 24, 2024
7d6e687
fix: ASC-222740 - create story condition for global-admin role (#354)
chaiwattsw May 27, 2024
0c95669
fix(reaction): ASC-22622 - fix reaction UI bugs (#355)
frankent May 27, 2024
c138b57
fix: ASC-22740 - create story permission condition to create story (#…
chaiwattsw May 27, 2024
be48905
feat(SDK): test build
frankent May 28, 2024
cc22a38
feat(SDK): upgrade ts-sdk version
frankent May 28, 2024
3a74cb6
fix: ASC-21529 - view story wrapper css (#359)
chaiwattsw May 31, 2024
00f978f
fix: ASC-20521 - story delete condition (#360)
chaiwattsw May 31, 2024
22062fa
fix: ASC-20505 - condition for non member (#361)
chaiwattsw Jun 4, 2024
478f3a6
fix: hook (#362)
chaiwattsw Jun 4, 2024
6efd829
fix: ASC-22947 - hyperlink config bottom sheet condition (#367)
chaiwattsw Jun 5, 2024
e887e78
fix: ASC-22949 - video story bug when delete (#366)
chaiwattsw Jun 5, 2024
896cffb
fix: close bottom sheet condition (#365)
chaiwattsw Jun 5, 2024
d85467c
fix: ASC-20502 - comment condition (#363)
chaiwattsw Jun 5, 2024
27c1aab
fix: ASC-22484 - hyperlink config css (#345)
chaiwattsw Jun 5, 2024
52f83a3
fix: ASC-20532 - deleted comment block (#364)
chaiwattsw Jun 5, 2024
14171c3
fix: category card responsive styles (#372)
chaiwattsw Jun 6, 2024
2349f87
fix: ASC-22947 - story can't add hyperlink (#373)
chaiwattsw Jun 6, 2024
8e3f30c
fix: ASC-00000 - bring back v3 code (#358)
bonanaaaaaa Jun 6, 2024
59a97e6
fix: video should pause when click item in action menu (#375)
chaiwattsw Jun 7, 2024
7a67b43
fix: hyperlink text color (#376)
chaiwattsw Jun 7, 2024
c80ef32
fix: ASC-21507 - reset form when confirm remove hyperlink (#368)
chaiwattsw Jun 7, 2024
16b4072
fix: category card responsive styles
chaiwattsw Jun 6, 2024
d940c6d
fix: npm
chaiwattsw Jun 7, 2024
c8ce20f
fix: npmrc
chaiwattsw Jun 7, 2024
0e8e78d
revert version from 4.0.0 => 3.4.0
frankent Jun 7, 2024
7fabe72
fix version
frankent Jun 7, 2024
7f3a3c8
chore(release): 3.6.0
bmo-amity-bot Jun 7, 2024
56d74e0
Merge remote-tracking branch 'upstream/release/v3.6.0' into release/v…
chaiwattsw Jun 7, 2024
f27ab9e
fix: remove v4
chaiwattsw Jun 7, 2024
c3d005c
fix: remove v4
chaiwattsw Jun 7, 2024
40b2b81
chore(release): 3.6.0
bmo-amity-bot Jun 7, 2024
fc002f6
Merge branch 'v3' into release/v3.6.0
ptchayap Jun 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Dev release pipeline
on:
pull_request:

env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
sync_dev:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -36,7 +39,7 @@ jobs:
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
echo "pnpm_cache_dir=$(pnpm store path | tr -d '\n')" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
Expand All @@ -52,6 +55,28 @@ jobs:
- name: build storybook
run: pnpm run storybook:build

- name: get version
id: version
run: echo "current_version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT

- name: increase version (pre-release)
run: pnpm standard-version --release-as ${{ steps.version.outputs.current_version }} --prerelease alpha.$(git rev-parse --short HEAD) --skip.changelog --skip.commit --skip.tag

- name: unpublish old version
if: "contains(github.event.pull_request.title, '(sdk):')"
continue-on-error: true
run: |
prev=$(npm view @amityco/ui-kit dist-tags.dev/${{ github.event.pull_request.number }})
[[ ! -z $prev ]] && npm unpublish @amityco/ui-kit@$prev
- name: build
run: pnpm run build

- name: publish on npm with dev dist-tag
if: "contains(github.event.pull_request.title, '(sdk):')"
continue-on-error: true
run: npm publish --tag dev/${{ github.event.pull_request.number }}

- name: publish on s3
uses: jakejarvis/s3-sync-action@master
with:
Expand Down
32 changes: 23 additions & 9 deletions .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,25 @@ on:
workflow_dispatch:
inputs:
release_as:
type: choice
description: 'release as'
required: false
options:
- none
- major
- minor
- patch
pre-release:
type: choice
description: 'prerelease'
required: false
options:
- none
- alpha
- beta

env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
publish:
Expand All @@ -34,7 +48,7 @@ jobs:
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
echo "pnpm_cache_dir=$(pnpm store path | tr -d '\n')" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
Expand All @@ -48,32 +62,32 @@ jobs:
run: pnpm install

- name: increase version (patch)
run: pnpm standard-version --yes --release-as patch
if: github.event.inputs.release_as == 'patch' && github.event.inputs.pre-release == ''
run: pnpm standard-version --yes
if: github.event.inputs.release_as == 'patch' && github.event.inputs.pre-release == 'none'

- name: increase version (patch) (pre-release)
run: pnpm standard-version --yes --release-as patch --prerelease ${{ github.event.inputs.pre-release }}
if: github.event.inputs.release_as == 'patch' && github.event.inputs.pre-release != ''
if: github.event.inputs.release_as == 'patch' && github.event.inputs.pre-release != 'none'

- name: increase version (minor)
run: pnpm standard-version --yes --release-as minor
if: github.event.inputs.release_as == 'minor' && github.event.inputs.pre-release == ''
if: github.event.inputs.release_as == 'minor' && github.event.inputs.pre-release == 'none'

- name: increase version (minor) (pre-release)
run: pnpm standard-version --yes --prerelease ${{ github.event.inputs.pre-release }}
if: github.event.inputs.release_as == 'minor' && github.event.inputs.pre-release != ''
if: github.event.inputs.release_as == 'minor' && github.event.inputs.pre-release != 'none'

- name: increase version (major)
run: pnpm standard-version --yes --release-as major
if: github.event.inputs.release_as == 'major' && github.event.inputs.pre-release == ''
if: github.event.inputs.release_as == 'major' && github.event.inputs.pre-release == 'none'

- name: increase version (major) (pre-release)
run: pnpm standard-version --yes --release-as major --prerelease ${{ github.event.inputs.pre-release }}
if: github.event.inputs.release_as == 'major' && github.event.inputs.pre-release != ''
if: github.event.inputs.release_as == 'major' && github.event.inputs.pre-release != 'none'

- name: increase version (pre-release)
run: pnpm standard-version --prerelease ${{ github.event.inputs.pre-release }}
if: github.event.inputs.release_as == '' && github.event.inputs.pre-release != ''
if: github.event.inputs.release_as == 'none' && github.event.inputs.pre-release != 'none'

- name: increase version (custom)
run: pnpm standard-version --yes --release-as ${{ github.event.inputs.custom_version }}
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ jobs:
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
run_install: true

- uses: actions/cache@v3
name: Setup pnpm cache
Expand All @@ -48,9 +43,6 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: build storybook
run: pnpm run storybook:build

Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@fortawesome:registry=https://registry.npmjs.org
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
1 change: 1 addition & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config: StorybookConfig = {
'@storybook/addon-a11y',
],
framework: '@storybook/react-vite',
staticDirs: ['../static'],
};

export default config;
1 change: 1 addition & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const preview: Preview = {
globalTypes: {
...FluidControl.global,
...UiKitDecorator.global,
...UiKitV4Decorator.global,
},
};

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## 3.6.0 (2024-06-07)

### Bug Fixes

- remove v4 ([c3d005c](https://github.com/AmityCo/Amity-Social-Cloud-UIKit-Web-OpenSource/commit/c3d005ce97203cd412fb38c9a6e8539b4e16613e))

## 3.5.0 (2024-04-26)

## 3.5.0 (2024-04-26)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ A: Try to structure your project to be like this:
```
Q: The modifications I made to the code do not appear to be applied.
A: Please attempt to execute `npm cache clean` or `npm cache clean --force` to resolve this issue.
A: Please attempt to execute `npm cache clean` or `npm cache clean --force` to resolve this issue.
7 changes: 7 additions & 0 deletions amity-uikit.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
}
},
"excludes": [],
"message_reactions": [
{ "name": "heart", "image": "message_reaction_heart.png" },
{ "name": "like", "image": "message_reaction_like.png" },
{ "name": "fire", "image": "message_reaction_fire.png" },
{ "name": "grinning", "image": "message_reaction_grinning.png" },
{ "name": "sad", "image": "message_reaction_sad.png" }
],
"customizations": {
"select_target_page/*/*": {
"theme": {},
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amityco/ui-kit-open-source",
"version": "3.5.0",
"version": "3.6.0",
"engines": {
"node": ">=16",
"pnpm": ">=8"
Expand Down Expand Up @@ -39,10 +39,7 @@
"react-dom": ">=17.0.2"
},
"devDependencies": {
"@amityco/ts-sdk": "^6.23.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.2.0",
"@amityco/ts-sdk": "^6.26.0",
"@storybook/addon-a11y": "^7.6.7",
"@storybook/addon-actions": "^7.6.7",
"@storybook/addon-backgrounds": "^7.6.7",
Expand Down Expand Up @@ -104,6 +101,7 @@
"clsx": "^2.1.0",
"extract-colors": "^4.0.2",
"filesize": "^9.0.11",
"framer-motion": "^11.1.7",
"hls.js": "^1.4.14",
"linkify-react": "^4.1.3",
"linkifyjs": "^4.1.3",
Expand Down
Loading
Loading