Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: show Explore Community button if global feed is empty * fix: remove unused blockRouteChange param * feat: UP-1331 post review * chore: install sdk 5.3.1 * feat: Chat Application Beta Version (the chat creation is disabled) * feat: Chat | Callback for member selection * feat: UP-119 - allow to override page type for redirecting on user click * fix warning related to missing click handler for CommmunityHeader * 2.1.0-rc.0 * fix sdk version * 2.1.0-rc.1 * fix: UP-3997 - make modal to be not small by default * 2.1.0-rc.2 * fix prop types * 2.1.0 * fix: UP-4013 - allow community moderators to delete posts * feat: UP-3972 - allow to edit published posts even if post moderation is turn on * feat: UP-3598 video posts * 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) * Release/v3.0.0 * chore(release): 3.0.0 (#114) Co-authored-by: bmo-amity-bot <[email protected]> * remove .npmrc * remove unused files * add .npmrc * comment ci cache * update ci and pnpm-lock.yml --------- Co-authored-by: Valeriy Malyshev <[email protected]> Co-authored-by: Valeriy Malyshev <[email protected]> Co-authored-by: Julien Barbay <[email protected]> Co-authored-by: Yevhen Khort <[email protected]> Co-authored-by: Serhii Ivanenko <[email protected]> Co-authored-by: Kaung Myat Lwin <[email protected]> Co-authored-by: Gaurav KC <[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]>
- Loading branch information