Skip to content

Commit

Permalink
Release/v3.2.2 (AmityCo#46)
Browse files Browse the repository at this point in the history
* fix: UP-3569 - allow to dismiss the moderator role for community owners

* feat: UP-2486 - added follow/unfollow ui integration; integrated follow status...

* feat: UP-2458 - added remove user functionality

* fix: fixed pagination

* feat: UP-2486 - added follow/unfollow ui integration; integrated follow status...

* feat: UP-2458 - added remove user functionality

* fix: UP-1460 - fixed markup issues

* fixed tabs; upgraded SDK version

* fix: UP-4012 - hide the user posts count

* UP-4200 - upgraded SDK api version (now we not show posts of user who not followed by current)

* UP-4207 - added missed pending notification section

* fix: UP-4205 - added notification for accept/decline follow request

* fix: fixed counters text and incorrect remove option

* fix: UP-4206 - added missed confirmation modal on unfollow

* fix: UP-4230 - fixed redirect on user item click

* fix: UP-4234 - fixed report menu item; removed redundant 3dots menu for current user profile

* fix: UP-4217 - remove 3dots menu for userItem if it equals to current user

* fix: UP-4201 - show private feed if user not connected and network is private

* fix: UP-4230 - redirect to profile when clicked from following list

* update sdk to 5.5.0-rc.5

* misc: EPL-662 - add qa anchors

* fix: UP-4005 - disable Switch Community Permission when internet cuts

* fix: UP-4229 - hide pending tab/pending user info block when network is public

* fix: UP-4238 - disable follow/pending buttons when connection drops

* hotfix - upgraded SDK + added missed prop

* feat: UP-3462 - ask user if he/she wants to leave the page if post creation is not finished

* fix: fix pending tab

* misc: UP-4226 set LGPL-2.1-only license

* misc: align network settings with sdk changes

* UP-4255 - disable buttons in pending tab when no connection

* UP-4235 - fixed pagination for accounts tab of social search

* sdk 5.5.0

* 2.2.0

* fix: UP-4494 - fixed modal confirm text

* feat: UP-3737 - add media gallery for photo and video

* sdk 5.6.0-rc.4

* sdk 5.6.0

* 2.3.0

* feat: UP-4486 - livestream posts, livestream media gallery

* feat: UP-1712 - poll feature

* hotfix - fixed crash on option update

* Milestone: Y21Q3.6

* fix: use message.user as a plain object

* fix: UP-4486 - hide livestream gallery

* fix: UP-5362 - set default cover photo

* fix: UP-5359 - disallow to edit poll post

* feat: UP-5360 - added handler for close poll

* fix: UP-5358 - fixed targetType and targetId for poll post creator

* fix: UP-5362 - convert SVG to Base64 for default community cover

* 2.4.0

* feat: UP-4664 - Transfer Roles

* feat: UP-5246 - Mention Social Post

* hotfix: arrange i18n en duplicate keys

* nightly build js-sdk 5.8.2-2a6dd68.0-rc

* feat: UP-5244 - banned icon specs (UP-5803,UP-5797,UP-5800,UP-5809)

* fix: UP-4984 - don't show promote to moderator for globally banned member

* fix: UP-6396 - Search mention list not display when put only mention indicator ('@')

* fix: UP-6393 - disallow searching for non-member of private community

* fix: UP-6371 - no highlight on other platforms

* fix: UP-6433 - Display mentioned user as @undefined when mention user in private community

* fix: UP-6404 - Mentioned user is not display with highlight when create post with video

* hotfix: return empty arr if mentionees is empty

* fix: UP-5800 - show banned icon beside user post

* fix: UP-6290 - update sdk version

* 2.5.0

* feat: UP-6278 - Update Post with mentions

* fix: UP-6096 - Disable banned user from search list when trying to mention them

* hotfix: no text showing when edit text

* hotfix: wrong styling for search input

* fix: UP-6539 - Display banned symbol incorrect position when create post in community

* fix: UP-6540 - Banned symbol on user profile

* fix: UP-6693 - disable create and edit post by mention to non member of private community

* fix: UP-6398 - text is not wrap to another line when  put text with no space

* fix: UP-6541 - UI broken when have long display name on post

* fix: UP-6693 - news feed showing non-private members for mention

* fix: UP-6920 - upgrade sdk version

* 2.6.0

* chore: UP-5883 update eslint

* feat: UP-5264 - Comment Mention (EPIC)

* feat: UP-6880 - Add apiRegion prop to connect to sdk

* fix: UP-6892 - suggestionList bottom guard

* fix: UP-6963 - add resetState func to reset to remote state

* fix: UP-6900 - displaying highlight when removed mentioned user

* fix: UP-6920 - update sdk

* 2.7.0

* feat: UP-5811 - Mention in Poll Post

* fix: UP-7146 - display exceed error after input mentionees passes 30

* upgrade sdk version

* 2.8.0

* fix: UP-7130 - fix for fetching chat messages

* build: remove auto-changelog

* build: remove gitlab ci

* ci: github ci scripts

* style(ui-kit): add missing package

* chore: [skip ci] update readme

* fix: storybook should show amity logo (#1)

* ci: [skip ci] weird typo in production workflow

* fix: UP-7343 - Livestream Title & Description to be shown (AmityCo#2)

* fix: UP-7343 - Livestream Title & Description to be shown

* add package.json resolve

* fix: UP-6890 - Redirect to user page on mention (AmityCo#3)

* fix: UP-6890 - Redirect to user page on mention

* fix: use memoized functional comps

* fix: UP-6934 - remove dependency on remoteMarkup metadata (AmityCo#4)

* ci: [skip ci] rename release bot account

* fix: UP-7142 - remove race condition inside queryMentionees cb (AmityCo#5)

* fix: UP-7142 - remove race condition inside queryMentionees cb

* fix: eslint errors

* ci: add secrets as env var for storybook build

* ci: [skip ci] add pr template and task checker

* fix: UP-7142 - refactor useSocialMention (AmityCo#6)

* social mention refactor#1

* fix with useRef refactor#2

* build: [skip ci] dependabot to look for js-sdk

* feat: UP-0000 - upgrade sdk version (AmityCo#10)

* chore(release): 2.9.0

* ci: [skip ci] add license

* misc: [skip ci] prepare docs for opensourcing

* ci: [skip ci] optimize checks

* ci: [skip ci] add code owners

* fix: UP-7483 - infinite looping on Uploader lifecycle (AmityCo#11)

* fix: UP-7484 - better resolution for CommunityCard thumbnails (AmityCo#12)

* fix: UP-7484 - use better resolution for CommunityCard thumbnails

* update for code review

* ci: [skip ci] pr checks trigger rollback

* fix: UP-7482 - add gutter for HorizontalList (AmityCo#14)

* fix: UP-7485 - use display name length (AmityCo#15)

* fix: UP-7485 - use display name length

* refactor: use extractMetadata for post composer

* fix var naming

* refactor: UP-7484 - extract image fetching logic in useImage hook (AmityCo#16)

* refactor: UP-7484 - extract image fetching logic in useImage hook

* add size param

* fix code review

* chore(release): 2.9.1

* fix: UP-7418 - highlight for livestream mention correctly (AmityCo#17)

* fix: UP-7624 - cannot upload pics/files twice (AmityCo#21)

* fix: UP-7623 - Scrollable Community List Target Selector (AmityCo#22)

* fix: UP-7623 - Scrollable Community List Target Selector

* move const for ScrollThreshold prop

* fix: UP-7677 - use better resolution for user pfp (AmityCo#19)

* fix: UP-7644 - URL won't render on Posts/Comments (AmityCo#18)

* add linkifyjs dep

* extract styling

* findChunk with URLs

* fix: links not working for posts

* refactor: extract MentionHighlightTag component

* refactor: use MentionHighlightTag component

* extract displayName + userId on Highlight render

* pass text prop to Comment

* feat: UP-7644 - Custom Chunk Highlighter Component (AmityCo#25)

* feat: minimal text highlighter

* testing component

* processChunks manually

* remove extra code

* chore(release): 2.10.0

* feat: UP-7988 - Google's URL styles (AmityCo#26)

* fix: UP-6435 - Cannot view video when create post with video from web (AmityCo#27)

* fix: UP-6435 - Cannot view video when create post with video from web

* remove .swp file

* feat: UP-7716 - provide access to ASCClient instance using useAmitySDK hook (AmityCo#23)

* chore(release): 2.11.0

* fix: ASC-430 - revert default linking style to blue + underline (AmityCo#30)

* UP-8086 - force to scroll to the bottom when add new message (AmityCo#29)

* chore(release): 2.11.1

* fix: ASC-1133 - misc console fixes (maxrows & duplicate key) (AmityCo#33)

* fix: change to maxrows attribute

* fix: add non-duplicate keys for ChunkHighlighter

* refactor: replace key with uuidv4

* feat: ASC-468 - added chat composer (AmityCo#34)

* ASC-468 - added chat composer

* ASC-468 - fixed modal

* ASC-468 - fixed modal appearance

* ASC-468 - fixed chat creation

* ASC-468 - fixed optional params

* chore(release): 2.12.0

* ci: make optional checklist items to be optional

* fix: rebuild package-lock (AmityCo#35)

* fix: ASC-1489 - Community image missing in the dropdown (AmityCo#37)

* chore(release): 2.12.1

* fix: eslint

* fix: ASC-1935 - Make channelId optional when creating channels (AmityCo#41)

* fix:ASC-1935-Make channelId optional(createChannel)

* mend

* mend

* fix:ASC-1983-Update js-sdk to v5.20.0 (AmityCo#43)

* SDK updated to reflect latest change
* User should be able to create channel without ChannelID

* fix: asc-1566 - show user's custom avatar in missed places (AmityCo#42)

* chore(release): 2.12.2

* refactor: remove empty storybook stories

* ci: use api region param

* fix: ASC-2826 - allow user to update displayName & discription without fileId (AmityCo#46)

* fix:change default avatarFileId from empty to null

* Reason: the sdk validation will fail if avatarFileId is empty
* Which leads to an undesirable result where user cannot update
  description or displayName if there is no avatarFileId set

* feat:add util to filter dirty values from form

* feat:filter out dirtyValues from UserProfileForm

* Update src/helpers/utils.js

Co-authored-by: Pawarit (Nhui) Chongkrichug <[email protected]>

* chore: asc-2826 remove dirtyValues helper

Co-authored-by: Pawarit (Nhui) Chongkrichug <[email protected]>

* [squash] ASC-2826 - remove unnecessary char (AmityCo#48)

* fix:change default avatarFileId from empty to null

* Reason: the sdk validation will fail if avatarFileId is empty
* Which leads to an undesirable result where user cannot update
  description or displayName if there is no avatarFileId set

* feat:add util to filter dirty values from form

* feat:filter out dirtyValues from UserProfileForm

* Update src/helpers/utils.js

Co-authored-by: Pawarit (Nhui) Chongkrichug <[email protected]>

* chore: asc-2826 remove dirtyValues helper

* fix:remove unnecessary char

* remove extra char

Co-authored-by: Pawarit (Nhui) Chongkrichug <[email protected]>

* fix: ASC-2788 - replace react-time-ago with react-timeago (AmityCo#47)

* fix: asc-2788 use addDefaultLocale instead of addLocale

* fix:use react-timeago over react-time-ago

* There was a bug in CRA due to cjs imports in javascript-time-ago,
  which is a dependancy of react-time-ago
* Reduces packages required from 2 to 1
* Fixes issue
* Note:new package supports Localisation too

* chore(release): 2.12.3

* fix: wait until connection appears (AmityCo#49)

Co-authored-by: Valeriy Malyshev <[email protected]>

* Refactoring useSdk hook (AmityCo#50)

* fix: ASC-3724 - Fix mention text showing userId instead of DisplayName (AmityCo#51)

* fix: ASC-3724 - Fix mention text showing userId instead of userDisplayName

* Improve variable declaration

* Improve variable declaration

* Reorganize code structure

* feat: ASC-3806 - Update js-sdk to v5.23.1 (AmityCo#52)

* chore(release): 2.13.0

* deps: ASC-1683 - update dependencies (AmityCo#38)

* deps: update js sdk to latest nightly build

* docs: ASC-0000 - Add examples for using social & chat (AmityCo#53)

* docs:add examples for using social & chat

* chore:update example docs

* Update Chat.md

* Update Social.md

* feat: update js sdk to 5.24.0

* chore(release): 2.14.0

* fix:ASC-4521 only submit profile fields (AmityCo#55)

* chore(release): 2.14.1

* chore: ASC-0000 - update changelog for patch (AmityCo#56)

* chore: ASC-1696 - Align poll icon style with other icons (AmityCo#54)

* fix:Align poll icon style

* fix:asc-1696 use file loader styles for poll

* mend

* Update .npmrc

* chore:[squash] - update package-lock

* chore:fix failing tests

* bug: ASC-4538 - remove unneccessary chars (AmityCo#60)

* fix: remove '0' symbol from the comment list

* fix: asc-3586 - fix the parsing of string containing mentiones (AmityCo#61)

* fix: ASC-3498 - fix the creation of metadata for mentionees (AmityCo#62)

* ASC-3722 - fixed markup to show ban symbol in comment (AmityCo#59)

* chore(release): 2.14.2

* fix: ASC-3885 - pass all icons props into svg element inside icon component

* fix: asc-3645 - the channel unread count in the channel list (AmityCo#64)

* ASC-3640 - fixed link color (AmityCo#63)

* ASC-3639 - fixed markup to show ban symbol in search (AmityCo#58)

* chore(release): 2.14.3

* chore(release): 2.14.4

* ASC-5181 - fixed popover (AmityCo#65)

* fix: minor style fixes

* fix: ASC-6373 - use useRef in functional component instead of createRef (AmityCo#66)

* fix: ASC-6036 - update js-sdk, do not crash in node env

* chore(release): 2.14.5

* fix: ASC-5490 - Override default post renderers (AmityCo#67)

* fix: ASC-5490 - override default post renderers

* fix: ASC-5490 - add renderers

* new minor version (AmityCo#69)

* chore(release): 2.14.6

* fix: ASC-7518 - correctly calculate mentions length on post update (AmityCo#73)

* chore: ASC-6833 - Optimize Ui-Kit Images / reduce requests on launch (AmityCo#72)

* chore: asc-6833 webpack build optimizations

* chore: asc-6833 use small size images when needed

* Update .npmrc

* Update index.js

* chore: remove react lazy

* chore: use lazy loading for styled img

* chore: asc-6833 remove useExperimental param

* chore: use nightly sdk build for qa (AmityCo#74)

* feat: custom attribute for automate test (AmityCo#70)

* add data-qa-anchor attribute for automate test

* add data-qa-anchor

* add data-qa-anchor for tabs component

* add data-qa-anchor for tab button and active state

* fix: rename anchor to general name for reuseable

* fix: rename anchor

* fix: add default value for data-qa-anchor

* fix: change default data-qa-anchor prop to empty string

* fix: rename confirm ok button

* fix: rename data-qa-anchor newsFeed

* chore(release): 2.15.0

* chore:update js-sdk to 5.31.0 (AmityCo#75)

* chore(release): 2.15.1

* fix: ASC-7914 - added subscription for community RTE events (AmityCo#76)

* chore(release): 2.15.2

* fix: ASC-6970 - fix mentions showing userid instead of display name (AmityCo#77)

* ASC-9529 - fixed indent for modal overlay (AmityCo#78)

Co-authored-by: Sergio Ivanuzzo <[email protected]>

* chore(release): 2.15.3

* fix: ASC-4612 - Update default values for channel creation (AmityCo#79)

Co-authored-by: Sergio Ivanuzzo <[email protected]>

* chore(release): 2.15.4

* fix: asc-11360 fix post header icon size (AmityCo#80)

* chore(release): 2.15.5

* fix: asc-12046 use transcoded video if available (AmityCo#81)

* chore(release): 2.15.6

* fix: asc-11719 get displayName from user object (AmityCo#82)

* chore(release): 2.15.7

* fix: ASC-13714 - fix mime type for video player  (AmityCo#84)

* fix: ASC-13714 - fix video source mime type

* fix: remove unnecessary code

* chore(release): 2.15.8

* feat(prod): update sdk version (AmityCo#94)

* chore(release): 2.16.0

* chore: ASC-15849 - npm -> pnpm (AmityCo#86)

* feat: pnpm export

* feat: update github action

* feat: remove package-lock.json

* chore: update pnpm-lock.yaml

* chore: ASC-15847 - tsup bundler (AmityCo#87)

* feat: tsup

* feat: tsup config

* chore: js -> jsx

* feat: update tsup.config.js

* chore: update pnpm-lock.yaml

* fix: ASC-15847 - add tsup and change storybook config (AmityCo#95)

* fix: add tsup and change storybook config

* fix: remove amity ts sdk

* chore: ASC-15844 - storybook v7 (AmityCo#88)

* feat: storybook v7

* fix: react-router-dom bug

* fix: fix type

* chore: remove unused packages

* chore: update pnpm-lock.yaml

* chore: eslint

* chore: ASC-15848 - styled components (AmityCo#89)

* feat: update styled-components to v6 and remove styled-components from peerDependencies

* chore: remove @types/styled-components and add stylis

* chore: update pnpm-lock.yaml

* chore: ASC-15851 - react-linkify -> linkify-react (AmityCo#90)

* feat: react-linkify -> linkify-react

* chore: update pnpm-lock.yaml

* chore: upgrade linkify-react and add linkifyjs

* chore: ASC-15850 - classnames to clsx (AmityCo#91)

* feat: classname to clsx

* chore: update pnpm-lock.yaml

* chore: ASC-0000 - update eslint (#98)

* chore: update tsconfig.json and add tsc
* chore: upgrade jest and add tsconfig in jest.config.js
* chore: upgrade eslint
* chore: +x on .husky/pre-commit
* chore: update pnpm-lock.yaml
* chore: fix lint
* chore: MenuGroupSetting.jsx
* chore: bring back src/chat/components/ChatHeader/index.jsx
* chore: bring back src/chat/pages/Application/index.jsx

* fix: truncate break word (#102)

* fix: update release prod flow (#103)

* feat: ASC-15842 - js sdk to ts sdk (AmityCo#92)

* feat: update dependencies

* feat: @amityco/js-sdk to @amityco/ts-sdk

* feat: replace ChannelType

* feat: replace MessageType

* feat: replace ImageSize

* feat: replace MessageType

* chore: disable dts

* feat: replace DataStatus

* feat: replace ChannelFilter

* feat: replace ChannelMembership

* feat: replace ConnectionStatus

* feat: remove some unused import

* feat: replace and remove FollowRequestStatus

* feat: remove and replace LoadingStatus

* feat: replace and remove PostDataType

* feat: replace and remove CommunityUserMembership

* feat: replace and remove PostTargetType

* feat: remove and replace CommentReferenceType

* feat: remove and replace CommunityFilter

* feat: remove and replace CommunitySortingMethod

* feat: remove and replace FeedType

* feat: remove and replace StreamStatus

* feat: remove and replace PollAnswerType

* feat: remove and replace PollDataType

* feat: remove and replace PollStatus

* feat: fix connectStatus to connected

* feat: fix EventSubscriberRepository

* chore: add TODO

* feat: js-sdk to ts-sdk

* feat: more typings fixed

* feat: more typings fixed

* chore: upgrade jest and add tsconfig in jest.config.js

* chore: upgrade eslint

* refactor: bring back mock

* fix: fix more types

* feat: csf-2-to-3

* chore: remove ConditionalRender

* chore: remove customizableComponent

* chore: fix types

* fix: uikit hidden bugs

* chore: communityFeed -> community

* feat: fix useLiveCollection infinite loop and fix Post hooks and ui

* chore: enable FluidDecorator

* feat: useArgs

* feat: remove unnecessary libs and add inter.css instead of using it from CDN

* ASC-15846: remove PaginatedList

* chore: ASC-0000 useSize

* chore: refactor

* chore: update pnpm-lock.yaml

* fix: change communityFeed to community

* Revert "chore: refactor"

This reverts commit b95505efdbae870ba5e4d2c44d8190ed353bf671.

* chore: remove unused mock data and recoil

* chore: add meta file when build

* fix: add required dataLength

* fix: fix Avatar style

* chore: ASC-0000 - deprecated withSDK

* chore: fix types

* feat: change return type of useLiveCollection from array to object and fix bugs

* fix: useLiveCollection

* chore: update useSize

* fix: Chat

* fix: remove any and fix bugs

* chore: remove unused code

* chore: refactor post

* chore: livestream -> liveStream

* chore: update deps

* chore: add eslint-disable on postcss.config.js

* chore: refactoring

* feat: CategoryCommunities

* feat: Edit Community #1

* chore: upgrade storybook

* feat: Edit Community AmityCo#2

* feat: Edit Community AmityCo#3

* feat: social to typescript

* feat: js -> ts,tsx

* feat: fix mention highlighter

* chore: fix types

* fix: comment and community

* feat: fix UserSelector

* feat: remove react-intl-formatted-duration

* fix: fix react-loading-skeleton

* fix: update tsup.config.ts

* fix: update pnpm-lock.yaml

* feat: update storybook

* feat: upgrade @amityco/ts-sdk and move to deps

* fix: fix usePostHeaderProps

* fix: fix bugs

* chore: upgrade storybook

* fix: fix ASC-18323 and ASC-18331

* fix: fix ASC-18325 Community Navigation

* fix: react-intl and comments

* fix: ASC-18338

* fix: post and comment bugs

* fix: fix type and cleanup console.log

* fix: fix UserSelector

* feat: singleton observer

* feat: cache data for 2s to prevent 429

* fix: postCreator size

* chore: remove console.log

* chore: upgrade storybook

* feat: fix thumbnail and convert them to typescript

* fix: fix create community ASC-18323

* fix: fix type and some bugs

* fix: fix type

* fix: fix storybook build

* fix: fix story hook

* feat: new CustomComponentsProvider

* fix: ASC-18853

* fix: fix storybook build

* fix: undefined error on useFollowCount

* fix: image and post creation

* fix: like button

* chore: optimistic like button

* fix: type

* chore: remove console.log

* fix: mentioned post creation and display

* fix: MyCommunitySidebar

* fix: community info and edit community

* chore: remove console.log

* chore: lazy loading and refactoring

* fix: fix type

* fix: hide leave chat button for conversation chat

* fix: onCreateSuccess callback

* fix: post video creation

* chore: update file uploader

* fix: post image gallery

* fix: community avatar uploader

* chore: delete commented code

* fix: avatar on community list

* fix: edit post

* feat: bring back postRenderer and refactor flagged

* chore: reduce request amount

* feat: upgrade @amityco/ts-sdk

* fix: permissions

* chore: upgrade storybook

* fix: post creator and editor and mention

* fix: fix user mention

* fix: subscribeTopic and globalSubscribeTopic

* fix: comment mention

* fix: comment mention

* fix: liveStream

* fix: followers followings

* fix: update user profile

* fix: followers followings

* fix: default comment limit

* fix: upgrade react-hook-form to fix edit community issue

* fix: style

* fix: type

* fix: style

* fix: remove query condition

* fix: chat

* fix: grid layout

* fix: mentions

* fix: chat avatar

* fix: react error

* fix: storybook fullscreen centered ui

* fix: add error handling

* fix: user mention

* chore: remove prop-types import

* chore: remove prop-types

* chore: fix types

* chore: update deps

* fix: leave chat behavior

* fix: mention width

* feat: add/edit chat members

* feat: add socialSettings

* chore: apiKey and apiRegion inputs

* feat: bring back old hooks and fix bugs

* fix: revert UiKitDecorator

* feat: update code based on docs

* feat: update @amityco/ts-sdk deps

* feat: upgrade @amityco/ts-sdk to 6.16

* feat: add type declaration file

* fix: typings

* fix: add play icon

* fix: global feed

* fix: installation

* fix: video duration

* fix: update deps

* Revert "feat: ASC-15842 - js sdk to ts sdk" (#111)

* Revert "Revert "feat: ASC-15842 - js sdk to ts sdk"" (#112)

* feat: support minor and major release (#113)

* chore(release): 3.0.0 (#114)

Co-authored-by: bmo-amity-bot <[email protected]>

* fix: liveStream and video MediaGallery and edit post validator (#115)

* feat: ASC-17988 - view create delete story (#110)

* fix: change communityFeed to community

* Revert "chore: refactor"

This reverts commit b95505efdbae870ba5e4d2c44d8190ed353bf671.

* chore: remove unused mock data and recoil

* chore: add meta file when build

* fix: add required dataLength

* fix: fix Avatar style

* chore: ASC-0000 - deprecated withSDK

* chore: fix types

* feat: change return type of useLiveCollection from array to object and fix bugs

* fix: useLiveCollection

* chore: update useSize

* fix: Chat

* fix: remove any and fix bugs

* chore: remove unused code

* chore: refactor post

* chore: livestream -> liveStream

* chore: update deps

* chore: add eslint-disable on postcss.config.js

* chore: refactoring

* feat: CategoryCommunities

* feat: Edit Community #1

* chore: upgrade storybook

* feat: Edit Community AmityCo#2

* feat: Edit Community AmityCo#3

* feat: social to typescript

* feat: js -> ts,tsx

* feat: fix mention highlighter

* chore: fix types

* fix: comment and community

* feat: fix UserSelector

* feat: remove react-intl-formatted-duration

* fix: fix react-loading-skeleton

* fix: update tsup.config.ts

* fix: update pnpm-lock.yaml

* feat: update storybook

* feat: upgrade @amityco/ts-sdk and move to deps

* fix: fix usePostHeaderProps

* fix: fix bugs

* chore: upgrade storybook

* fix: fix ASC-18323 and ASC-18331

* fix: fix ASC-18325 Community Navigation

* fix: react-intl and comments

* fix: ASC-18338

* fix: post and comment bugs

* fix: fix type and cleanup console.log

* fix: fix UserSelector

* feat: singleton observer

* feat: cache data for 2s to prevent 429

* fix: postCreator size

* chore: remove console.log

* chore: upgrade storybook

* feat: fix thumbnail and convert them to typescript

* fix: fix create community ASC-18323

* fix: fix type and some bugs

* fix: fix type

* fix: fix storybook build

* fix: fix story hook

* feat: new CustomComponentsProvider

* fix: ASC-18853

* fix: fix storybook build

* fix: undefined error on useFollowCount

* fix: image and post creation

* fix: like button

* chore: optimistic like button

* fix: type

* chore: remove console.log

* fix: mentioned post creation and display

* fix: MyCommunitySidebar

* fix: community info and edit community

* chore: remove console.log

* chore: lazy loading and refactoring

* fix: fix type

* fix: hide leave chat button for conversation chat

* fix: onCreateSuccess callback

* fix: post video creation

* chore: update file uploader

* fix: post image gallery

* fix: community avatar uploader

* chore: delete commented code

* fix: avatar on community list

* feat: implement StoryViewer component

* feat: add format time ago function for story

* feat: add useStories hook

* feat: add custom ts sdk and react-insta-stories

* feat: add react-spring-bottomsheet

* fix: add story of StoryViewer

* fix: add StoryViewer types

* fix: edit post

* feat: bring back postRenderer and refactor flagged

* chore: reduce request amount

* feat: add v4 icons for story

* fix: import

* fix: story

* fix: styles

* feat: upgrade @amityco/ts-sdk

* fix: draft story

* fix: permissions

* chore: upgrade storybook

* fix: post creator and editor and mention

* fix: remove console.log

* fix: remove unused

* fix: fix user mention

* fix: remove bottom sheet

* fix: add loading and error to stories hook

* fix: remove unused

* fix: px to rem

* fix: extract color

* fix: props

* fix: subscribeTopic and globalSubscribeTopic

* fix: comment mention

* fix: comment mention

* fix: liveStream

* fix: followers followings

* fix: update user profile

* fix: followers followings

* fix: default comment limit

* fix: upgrade react-hook-form to fix edit community issue

* fix: style

* fix: type

* fix: style

* fix: remove query condition

* fix: import

* fix: setImageMode

* fix: gradient bg

* fix: chat

* fix: grid layout

* fix: mentions

* fix: chat avatar

* fix: type

* fix: add null to currentStory

* fix: props and types

* fix: add icon props

* fix: useStories hook

* feat: ASC-18036 add json config

* fix: react error

* fix: storybook fullscreen centered ui

* fix: add error handling

* fix: user mention

* chore: remove prop-types import

* chore: remove prop-types

* chore: fix types

* chore: update deps

* fix: leave chat behavior

* fix: mention width

* feat: ASC-17988 view story

* fix: story title style

* fix: story ring

* fix: remove avatar overlay

* fix: update ts sdk custom build

* fix: story draft linear gradient

* feat: add/edit chat members

* fix: update stories hook type

* feat: amity uikit config

* fix: modal sheet create portal  on story container

* fix: add onClickCreateStory prop

* fix: remove unused type

* fix: add video on draft story

* fix: add story ring with haveStories state

* fix: action sheet

* fix: remove unused

* fix: component props

* fix: add actions prop

* fix: button border-radius

* feat: add socialSettings

* chore: apiKey and apiRegion inputs

* feat: bring back old hooks and fix bugs

* fix: revert UiKitDecorator

* fix: update packages

* fix: remove line story

* fix: remove unused

* fix: update icons

* fix: update navigation param

* fix: remove unused

* fix: update close icon

* fix: story viewer tap backdrop to close

* fix: story viewer close icon

* fix: update i18n

* fix: remove unused

* feat: update code based on docs

* fix: create story

* feat: update @amityco/ts-sdk deps

* fix: story draft

* fix: add pause and play button

* fix: update i18n

* fix: add error icon

* fix: add error state for story tab

* fix: moved story state

* fix: story error state

* fix: story viewer avatar

* feat: upgrade @amityco/ts-sdk to 6.16

* feat: add type declaration file

* fix: typings

* fix: community should close after all story end

* fix: next prev story logic

* chore: clean

* fix: remove console.log

* fix: isSeen

* fix: story sort

* fix: story pause play button

* fix: story avatar

* fix: export

* fix: remove props type

* fix: mobile sidenav

* fix: move styled component

* fix: mobile side menu

* fix: side menu close button

* fix: close icon

* fix: add story control button

* fix: deps

* fix: show gradient bg from image

* fix: add type

* fix: remove console.log

* fix: replace old cover with linear gradient

* fix: notification show at bottom for mobile

* fix: add error and uploading ui

* fix: add uploading and error notification

* fix: story footer default state

* fix: navigate story

* fix: border radius on story draft

* fix: last story to navigate back

* fix: navigate when all stories end

* fix: handle error and uploading state

* fix: handle stories error

* fix: all stories end navigate logic

* fix: delete story logic

* fix: support story for mobile

* fix: pause

* fix: arrow logic

* fix: image mode

* fix: types

* fix: action item

* fix: notification for mobile

* fix: move targetRootId

* fix: add isCreator prop

* fix: cleanup

* fix: remove console.log from navigation

* fix: sidemenu

* fix: toast

* fix: remove unused

* fix: remove console.log

* fix: cleanup

* fix: toast

---------

Co-authored-by: Bonn <[email protected]>

* Revert "feat: ASC-17988 - view create delete story (#110)" (#119)

This reverts commit 043be89.

* fix: don't join a conversation channel (#120)

* fix: call stopUnreadSync when unmount (#121)

* chore(release): 3.1.0 (#122)

Co-authored-by: bmo-amity-bot <[email protected]>

* fix: add channel subscription (#132)

* fix: remove Loading... text (#133)

* fix: add authToken (#130)

* feat: ASC-17988 - community story (#117)

* chore: delete commented code

* fix: avatar on community list

* feat: implement StoryViewer component

* feat: add format time ago function for story

* feat: add useStories hook

* feat: add custom ts sdk and react-insta-stories

* feat: add react-spring-bottomsheet

* fix: add story of StoryViewer

* fix: add StoryViewer types

* fix: edit post

* feat: bring back postRenderer and refactor flagged

* chore: reduce request amount

* feat: add v4 icons for story

* fix: import

* fix: story

* fix: styles

* feat: upgrade @amityco/ts-sdk

* fix: draft story

* fix: permissions

* chore: upgrade storybook

* fix: post creator and editor and mention

* fix: remove console.log

* fix: remove unused

* fix: fix user mention

* fix: remove bottom sheet

* fix: add loading and error to stories hook

* fix: remove unused

* fix: px to rem

* fix: extract color

* fix: props

* fix: subscribeTopic and globalSubscribeTopic

* fix: comment mention

* fix: comment mention

* fix: liveStream

* fix: followers followings

* fix: update user profile

* fix: followers followings

* fix: default comment limit

* fix: upgrade react-hook-form to fix edit community issue

* fix: style

* fix: type

* fix: style

* fix: remove query condition

* fix: import

* fix: setImageMode

* fix: gradient bg

* fix: chat

* fix: grid layout

* fix: mentions

* fix: chat avatar

* fix: type

* fix: add null to currentStory

* fix: props and types

* fix: add icon props

* fix: useStories hook

* feat: ASC-18036 add json config

* fix: react error

* fix: storybook fullscreen centered ui

* fix: add error handling

* fix: user mention

* chore: remove prop-types import

* chore: remove prop-types

* chore: fix types

* chore: update deps

* fix: leave chat behavior

* fix: mention width

* feat: ASC-17988 view story

* fix: story title style

* fix: story ring

* fix: remove avatar overlay

* fix: update ts sdk custom build

* fix: story draft linear gradient

* feat: add/edit chat members

* fix: update stories hook type

* feat: amity uikit config

* fix: modal sheet create portal  on story container

* fix: add onClickCreateStory prop

* fix: remove unused type

* fix: add video on draft story

* fix: add story ring with haveStories state

* fix: action sheet

* fix: remove unused

* fix: component props

* fix: add actions prop

* fix: button border-radius

* feat: add socialSettings

* chore: apiKey and apiRegion inputs

* feat: bring back old hooks and fix bugs

* fix: revert UiKitDecorator

* fix: update packages

* fix: remove line story

* fix: remove unused

* fix: update icons

* fix: update navigation param

* fix: remove unused

* fix: update close icon

* fix: story viewer tap backdrop to close

* fix: story viewer close icon

* fix: update i18n

* fix: remove unused

* feat: update code based on docs

* fix: create story

* feat: update @amityco/ts-sdk deps

* fix: story draft

* fix: add pause and play button

* fix: update i18n

* fix: add error icon

* fix: add error state for story tab

* fix: moved story state

* fix: story error state

* fix: story viewer avatar

* feat: upgrade @amityco/ts-sdk to 6.16

* feat: add type declaration file

* fix: typings

* fix: community should close after all story end

* fix: next prev story logic

* chore: clean

* fix: remove console.log

* fix: isSeen

* fix: story sort

* fix: story pause play button

* fix: story avatar

* fix: export

* fix: remove props type

* fix: mobile sidenav

* fix: move styled component

* fix: mobile side menu

* fix: side menu close button

* fix: close icon

* fix: add story control button

* fix: deps

* fix: show gradient bg from image

* fix: add type

* fix: remove console.log

* fix: replace old cover with linear gradient

* fix: notification show at bottom for mobile

* fix: add error and uploading ui

* fix: add uploading and error notification

* fix: story footer default state

* fix: navigate story

* fix: border radius on story draft

* fix: last story to navigate back

* fix: navigate when all stories end

* fix: handle error and uploading state

* fix: handle stories error

* fix: all stories end navigate logic

* fix: delete story logic

* fix: support story for mobile

* fix: pause

* fix: arrow logic

* fix: image mode

* fix: types

* fix: action item

* fix: notification for mobile

* fix: move targetRootId

* fix: add isCreator prop

* fix: cleanup

* fix: remove console.log from navigation

* fix: sidemenu

* fix: toast

* fix: remove unused

* fix: remove console.log

* fix: cleanup

* fix: toast

* fix: delete button

* fix: sidemenu

* fix: remove useMediaQuery

* fix: remove unused

* fix: replace useMediaQuery with useMedia

* fix: uploading spinner

* fix: handle upload on view story

* fix: story ring prop

* fix: update spinner

* fix: spinner

* fix: handle state

* feat: isSeen state

* fix: rotate storying

* fix: verified badge

* feat: story comments setting ui

* fix: uploading logic

* fix: remove unused

* fix: story setting enable comment permission

* fix: mark as seen

* fix: mark as seen

* feat: add check permission on ts sdk

* feat: check story permission

* fix: check permission function

* fix: storytab

* feat: mute unmute story

* fix: story ring

* fix: uploading prop

* fix: moved temp v4 folder

* fix: move icons

* fix: icons

* fix: update icons

* fix: remove unused

* fix: add i18n keys for story

* fix: mute button position

* fix: reinstall deps

* fix: add extract colors dep

* fix: view count

* fix: admin permission

* fix: isSeen

* fix: story index

* fix: remove console.log

* fix: remove console.log

* fix: first video skipped

* fix: add pause for image

* fix: permission role

* fix: permission

* fix: sidemenu mobile

* fix: remove last story should go back

* fix: sidemenu

* fix: syncState prop type

* fix: remove console.log

* fix: remove unused

* fix: switchitem props render

* fix: update icons

* fix: add comment permission utils

* fix: remove unused

* fix: update icons

* fix: image renderer

* fix: story linear color bg video

* fix: icon

* fix: add story on story viewer

* fix: should pause when click action

* fix: remove unused

* fix: bg colors

* fix: remove unused

* fix: story permission condition

* fix: background uikit 4.0

* Update src/icons/index.ts

Co-authored-by: Kiattirat Sujjapongse <[email protected]>

* fix: type and remove unused

* fix: ts sdk version

* fix: type

---------

Co-authored-by: Bonn <[email protected]>
Co-authored-by: Kiattirat Sujjapongse <[email protected]>

* fix: fix @amityco/ts-sdk version (#138)

* fix: noti error show 2 times (#136)

* fix: ASC-19651 - play pause state (#137)

* fix: play pause state

* fix: story end shoud increase current index

* fix: markAsSeen

* fix: width height

* fix: fit fill display mode

* fix: mark as seen

* fix: update ts-sdk custom version

* fix: useChannel instead of channel from livecollection (#139)

* fix: ASC-20155 - fix message list scroll (#140)

* fix: fix message list scroll

* fix: scroll

* fix: recent chat scroll

* fix: chat avatar (#135)

* fix: ASC-20427 - fix session renewal (#145)

* fix: typing

* chore: update ts-sdk version

* fix: renew with another function for secure mode

* feat: ASC-19739 - remove font awesome pro (#129)

* feat: ASC-19739 - remove font awesome pro 1-17 (#127)

* feat: update icons

* feat: remove font-size and change color to fill

* fix: ASC-00000 - remove fontawesome 35 51 (#118)

* fix: change fontawesome to svg 35-51

* added ``

* feat: ASC-00000 - remove fontawesome pro icon (#116)

* fix: shield icon

* fix: soloarsystem icon

* fix: sortdown icon

* fix: trash and user plus icon

* fix: user regular icon

* fix: verified icon

* fix: icon

* fix: icon props

* feat(icon): ASC-19739 - remove font-awesome 18-34 (#128)

* feat(icon): remove font-awesome

* feat(icon): remove font size

* fix: fill

* fix: revert some code

* fix: revert some code

* fix: revert some code

* fix: revert some code

* fix: revert some code

* fix: ASC-00000 - change fontawesome to svg 52-68 (#123)

* fix: change fontawesome to svg 52-68

* feat: add attribute

* fix: remove font-size from style

* feat: fix icon width and height

* fix: width and height

* feat(icon): update chat header (#142)

---------

Co-authored-by: Naing <[email protected]>
Co-authored-by: Chaiwat Trisuwan <[email protected]>
Co-authored-by: Kiattirat Sujjapongse <[email protected]>
Co-authored-by: Pitchaya T <[email protected]>
Co-authored-by: ptchaya_p <[email protected]>

* chore(release): 3.2.0

* fix: update prod workflow

* chore(release): 3.2.1

* chore: update readme

* chore: add pnpm-lock

* chore(release): 3.2.2

---------

Co-authored-by: Valeriy Malyshev <[email protected]>
Co-authored-by: Serhii Ivanenko <[email protected]>
Co-authored-by: Kaung Myat Lwin <[email protected]>
Co-authored-by: Valeriy Malyshev <[email protected]>
Co-authored-by: Gaurav KC <[email protected]>
Co-authored-by: Julien Barbay <[email protected]>
Co-authored-by: Julien Barbay <[email protected]>
Co-authored-by: bmo-amity-bot <[email protected]>
Co-authored-by: Serhii Ivanenko <[email protected]>
Co-authored-by: seagin <[email protected]>
Co-authored-by: Pawarit (Nhui) Chongkrichug <[email protected]>
Co-authored-by: Pawarit (Nhui) Chongkrichug <[email protected]>
Co-authored-by: seagin <[email protected]>
Co-authored-by: Chaiwat Trisuwan <[email protected]>
Co-authored-by: Sergio Ivanuzzo <[email protected]>
Co-authored-by: Kiattirat Sujjapongse <[email protected]>
Co-authored-by: Bonn <[email protected]>
Co-authored-by: Bonn <[email protected]>
Co-authored-by: Naing <[email protected]>
  • Loading branch information
20 people authored Feb 27, 2024
1 parent 2255cf9 commit e62a5f5
Show file tree
Hide file tree
Showing 169 changed files with 6,592 additions and 3,253 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: pnpm install

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

- name: increase version (minor)
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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.2.2 (2024-02-27)

## 3.0.0 (2024-01-18)

### Features
Expand Down
6 changes: 3 additions & 3 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.0.0",
"version": "3.2.2",
"engines": {
"node": ">=16",
"pnpm": ">=8"
Expand Down Expand Up @@ -34,12 +34,12 @@
"tsc": "tsc"
},
"peerDependencies": {
"@amityco/ts-sdk": "~6.16.0",
"@amityco/ts-sdk": "~6.17.3",
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
},
"devDependencies": {
"@amityco/ts-sdk": "~6.16.0",
"@amityco/ts-sdk": "~6.17.3",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.2.0",
Expand Down
Loading

0 comments on commit e62a5f5

Please sign in to comment.