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

Sprint 30 #2261

Merged
merged 116 commits into from
Oct 26, 2023
Merged
Changes from 1 commit
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
82c5045
fixing - discussion messages appear only after touching the screen in…
roienatan Sep 27, 2023
a3efc6d
try #2
roienatan Sep 27, 2023
56aff1d
.
roienatan Sep 28, 2023
91156e0
.
roienatan Sep 28, 2023
aaed82e
try 2
roienatan Sep 28, 2023
11c098b
.
roienatan Oct 3, 2023
7acf4fd
..
roienatan Oct 3, 2023
1fecf86
Merge branch 'dev' into cw-2101-mobile-chat-messages-missing
roienatan Oct 4, 2023
f514693
.
roienatan Oct 4, 2023
12b23a9
change default settings to `all` value
andreymikhadyuk Oct 16, 2023
d2d3d84
CW-2025 Added react-zoom-pan-pinch library and ImageWithZoom
MeyerPV Oct 16, 2023
4daafc7
update billing page's UI
andreymikhadyuk Oct 16, 2023
794ef1d
add icon element to menu item
andreymikhadyuk Oct 16, 2023
af9922d
add icons to the profile menu
andreymikhadyuk Oct 16, 2023
2c50fcd
change edit button icon of profile page
andreymikhadyuk Oct 16, 2023
99e8ca1
copy UserDetails to profile page component
andreymikhadyuk Oct 16, 2023
75bc80f
update user details preview displaying
andreymikhadyuk Oct 16, 2023
f651de3
update edit avatar button icon
andreymikhadyuk Oct 17, 2023
551695d
update profile page edit form
andreymikhadyuk Oct 17, 2023
14b76b0
create light pink button variant
andreymikhadyuk Oct 17, 2023
5e18e6f
add edit profile button to profile preview
andreymikhadyuk Oct 17, 2023
127c54f
Merge pull request #2203 from daostack/feature/CW-2202-default-settings
MeyerPV Oct 17, 2023
67322f5
Merge pull request #2204 from daostack/CW-2025-zoom-in
MeyerPV Oct 17, 2023
5276f53
CW-Webview Changed path to inbox
MeyerPV Oct 17, 2023
706c3cd
update profile form on mobile
andreymikhadyuk Oct 17, 2023
7a1884e
Merge pull request #2205 from daostack/CW-Webview-redirect-inbox
MeyerPV Oct 17, 2023
837887b
Merge branch 'dev' into feature/CW-2194-profile
andreymikhadyuk Oct 17, 2023
d8310cc
add "required" info to common image label
andreymikhadyuk Oct 17, 2023
98d1a14
add validation message to the common picture form item
andreymikhadyuk Oct 17, 2023
fd80c64
Merge pull request #2207 from daostack/bugfix/CW-2181-common-without-…
andreymikhadyuk Oct 17, 2023
5f7b7dc
add `lastActivity` field to `Common` model
andreymikhadyuk Oct 17, 2023
1e50060
sort breadcrumbs items by name
andreymikhadyuk Oct 17, 2023
77fa35d
Merge branch 'dev' into cw-2101-mobile-chat-messages-missing
roienatan Oct 17, 2023
25f8737
Merge branch 'staging' into dev
andreymikhadyuk Oct 17, 2023
faf82b2
Merge branch 'dev' into feature/CW-2183-commons-sorting
andreymikhadyuk Oct 17, 2023
63ba32d
Merge pull request #2206 from daostack/feature/CW-2194-profile
andreymikhadyuk Oct 17, 2023
f65369c
Merge branch 'dev' into feature/CW-2183-commons-sorting
andreymikhadyuk Oct 17, 2023
8e8385b
.
roienatan Oct 17, 2023
f999629
.
roienatan Oct 17, 2023
458a25a
revert "sort breadcrumbs items by name"
andreymikhadyuk Oct 17, 2023
5a02524
add breadcrumbs sorting by lastActivity
andreymikhadyuk Oct 17, 2023
14b3118
change 'What do you think?' chat placeholder to 'Message'
roienatan Oct 17, 2023
8fc2e83
add commons sorting in the navigation dropdown
andreymikhadyuk Oct 17, 2023
2a48891
add projects sorting in the sidenav
andreymikhadyuk Oct 17, 2023
9651014
added loader delay on mobile for feed
andreymikhadyuk Oct 17, 2023
8b89853
revert "add projects sorting in the sidenav"
andreymikhadyuk Oct 17, 2023
546e621
Merge pull request #2210 from daostack/feature/CW-2193-feed-loader-delay
roienatan Oct 18, 2023
b19b381
show project feed item counter even if nothing has been updated
budnik9 Oct 18, 2023
5df1ee6
add follow space feature for v04 layout
budnik9 Oct 18, 2023
449066f
Merge pull request #2129 from daostack/cw-2101-mobile-chat-messages-m…
roienatan Oct 18, 2023
87bf7c6
message menu on mobile: long press
roienatan Oct 18, 2023
bbb89c1
editor: same indentation for new lines
roienatan Oct 18, 2023
d53b855
Merge pull request #2216 from daostack/cw-2024-editor-same-indentation
roienatan Oct 19, 2023
ebf506b
Merge pull request #2215 from daostack/cw-2147-fix-message-links-not-…
roienatan Oct 19, 2023
c90f97f
about page root common: show join common button
roienatan Oct 19, 2023
ab79367
clean in MembershipRequestIntroduce
roienatan Oct 19, 2023
e84980a
Merge pull request #2209 from daostack/feature/CW-2183-commons-sorting
MeyerPV Oct 20, 2023
55580b6
Merge pull request #2214 from daostack/feature/CW-2195-support-follow…
MeyerPV Oct 20, 2023
a8b6775
Merge pull request #2213 from daostack/bugfix/CW-2190-project-feed-it…
MeyerPV Oct 20, 2023
dbb3985
Merge pull request #2220 from daostack/dev
MeyerPV Oct 20, 2023
da5dda4
fix: chat input rtl emoji container blocks cursor
roienatan Oct 22, 2023
532bbe1
join via is now button instead of text link
roienatan Oct 22, 2023
d4118d2
remove `Edit profile` button on mobile
andreymikhadyuk Oct 23, 2023
e162ab9
Merge pull request #2225 from daostack/feature/CW-2194-remove-edit-pr…
andreymikhadyuk Oct 23, 2023
bfd5174
update isJoinAllowed condition
roienatan Oct 23, 2023
3bed749
Merge pull request #2224 from daostack/cw-2223-fix-chat-input-hebrew-…
roienatan Oct 23, 2023
f36f262
add sorting to the feed item list
andreymikhadyuk Oct 23, 2023
53a3e6c
add sorting to update list of inbox items
andreymikhadyuk Oct 23, 2023
e389ed9
disable scroll anchor for feed item list
andreymikhadyuk Oct 23, 2023
14c3192
bring back withJoinRequest
roienatan Oct 23, 2023
7540c29
message loading skeleton
roienatan Oct 23, 2023
66b5442
Merge pull request #2231 from daostack/feature/CW-2212-feed-sorting
andreymikhadyuk Oct 24, 2023
5176561
add logs for common sorting
andreymikhadyuk Oct 24, 2023
f97c1f1
remove extra fetches of breadcrumbs data
andreymikhadyuk Oct 24, 2023
0f49b31
create useAllUserCommonMemberInfo hook
andreymikhadyuk Oct 24, 2023
77a3311
create useGovernanceListByCommonIds hook
andreymikhadyuk Oct 24, 2023
b3d8bc4
add logic to fetch breadcrumbs item's projects
andreymikhadyuk Oct 24, 2023
8ba67f2
add logic to display add space button
andreymikhadyuk Oct 24, 2023
740de9d
landing page: remove video animation ; remove unnecessary images
roienatan Oct 24, 2023
0c600df
reuse commons and projects from sidenav in breadcrumbs
andreymikhadyuk Oct 24, 2023
b84ba8a
add loader to breadcrumbs menu
andreymikhadyuk Oct 24, 2023
f411c98
create ActiveFeedBreadcrumbsItem component
andreymikhadyuk Oct 24, 2023
7577090
fix breadcrumbs related reducers
andreymikhadyuk Oct 24, 2023
d6f7c27
fix active breadcrumbs items
andreymikhadyuk Oct 24, 2023
c91dec2
revert breadcrumbs items type
andreymikhadyuk Oct 24, 2023
3733875
add comment to the addOrUpdateProjectInBreadcrumbs reducer
andreymikhadyuk Oct 24, 2023
8836b56
updated system message design
roienatan Oct 24, 2023
a01f32e
fix FeedBreadcrumbsItem's base item building
andreymikhadyuk Oct 24, 2023
742d3fc
optimize breadcrumbs configuration using existing data
andreymikhadyuk Oct 24, 2023
7d47273
fix projects in sidenav fetch on item click from breadcrumbs
andreymikhadyuk Oct 24, 2023
6e1ba0d
fix projects in sidenav fetch on item click from breadcrumbs
andreymikhadyuk Oct 24, 2023
5c7cad7
close message menu on chat scrolling
budnik9 Oct 24, 2023
39b20f6
CW-2227 Revert routing to new inbox
MeyerPV Oct 25, 2023
8d633f9
Merge pull request #2219 from daostack/cw-2217-about-root-common-join…
roienatan Oct 25, 2023
1b4e27b
Merge pull request #2244 from daostack/feature/CW-2146-hide-message-menu
MeyerPV Oct 25, 2023
9ac1ca4
loading... label instead of animation
roienatan Oct 25, 2023
de1bc73
updated color text
roienatan Oct 25, 2023
5140f43
updates
roienatan Oct 25, 2023
75a947a
clean
roienatan Oct 25, 2023
3d321d0
CW-2227 Revert sidenav to v04
MeyerPV Oct 25, 2023
441d1e0
Merge pull request #2232 from daostack/cw-2192-message-item-loading-s…
MeyerPV Oct 25, 2023
1b5b75d
Merge pull request #2242 from daostack/cw-2238-updated-system-message…
MeyerPV Oct 25, 2023
5e7efdc
Merge pull request #2246 from daostack/CW-2227-revert-v04-sidenav
MeyerPV Oct 25, 2023
3de41c9
Merge pull request #2243 from daostack/feature/CW-2234-breadcrumbs
MeyerPV Oct 25, 2023
dc85068
useBigPhoneView
roienatan Oct 25, 2023
f72a877
Merge pull request #2241 from daostack/cw-2235-landing-page-remove-video
roienatan Oct 25, 2023
51ce064
Merge branch 'staging' into dev
MeyerPV Oct 25, 2023
d96f3a6
Merge pull request #2247 from daostack/dev
MeyerPV Oct 25, 2023
b9104ae
CW-Hotfix-revert-to-v04
MeyerPV Oct 26, 2023
a724ca1
Merge pull request #2249 from daostack/CW-Hotfix-revert-inbox-to-v04
MeyerPV Oct 26, 2023
789d328
Merge pull request #2250 from daostack/dev
MeyerPV Oct 26, 2023
5de6e79
treat a missing commonFeedObjectUserUnique for the user as "New"
budnik9 Oct 26, 2023
7589832
CW-2236 Added styles for plus icon
MeyerPV Oct 26, 2023
1a92ee3
Merge pull request #2251 from daostack/bugfix/CW-2233-new-tag-visibil…
MeyerPV Oct 26, 2023
529ebaf
Merge pull request #2253 from daostack/CW-2236-change-plus-icon
MeyerPV Oct 26, 2023
1ff4682
Merge pull request #2255 from daostack/dev
MeyerPV Oct 26, 2023
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
Prev Previous commit
Next Next commit
useBigPhoneView
roienatan committed Oct 25, 2023
commit dc85068400db1bafb3a391e48d7b334fb3d88545
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React, { FC } from "react";
import { useTranslation } from "react-i18next";
import landingMobilePosterSec from "@/shared/assets/images/landing-mobile-poster.jpg";
import landingVideoPosterSrc from "@/shared/assets/images/landing-video-poster.jpg";
import landingVideoSrc from "@/shared/assets/videos/landing-video.mp4";
import { useIsPhoneView } from "@/shared/hooks/viewport";
import { useIsBigPhoneView } from "@/shared/hooks/viewport";
import { Button, ButtonVariant } from "@/shared/ui-kit";
import "./index.scss";

@@ -15,12 +14,12 @@ const VideoSection: FC<VideoSectionProps> = ({ onLaunchClick }) => {
const { t } = useTranslation("translation", {
keyPrefix: "landing",
});
const isPhoneView = useIsPhoneView();
const isBigPhoneView = useIsBigPhoneView();

return (
<section className="landing-video-section">
<div className="landing-video-section__video-wrapper">
{!isPhoneView && (
{!isBigPhoneView && (
<video
className="landing-video-section__video"
autoPlay
1 change: 1 addition & 0 deletions src/shared/constants/viewportBreakpoint.ts
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ export enum ViewportBreakpoint {
Desktop = 1560,
Laptop = 1152,
Tablet = 768,
BigPhone = 450,
Phone = 390,
}

1 change: 1 addition & 0 deletions src/shared/hooks/viewport/index.ts
Original file line number Diff line number Diff line change
@@ -4,3 +4,4 @@ export * from "./useIsLaptopView";
export * from "./useIsPhoneOrientedView";
export * from "./useIsPhoneView";
export * from "./useIsTabletView";
export * from "./useIsBigPhoneView";
5 changes: 5 additions & 0 deletions src/shared/hooks/viewport/useIsBigPhoneView.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { ViewportBreakpoint } from "@/shared/constants";
import useScreenSize from "../useScreenSize";

export const useIsBigPhoneView = (): boolean =>
useScreenSize(`max-width: ${ViewportBreakpoint.BigPhone}px`);