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

Feat/mobile mvp #588

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Feat/mobile mvp #588

wants to merge 9 commits into from

Conversation

iapolya
Copy link

@iapolya iapolya commented Feb 6, 2025

Fixes #329

  1. Tooltips of cuts are hidden
Screenshot 2025-02-06 at 12 29 25
  1. Additional actions and mode switching are displayed as a Sheet
Screenshot 2025-02-06 at 12 30 02 Screenshot 2025-02-06 at 12 30 53
  1. The selection menu is hidden
Screenshot 2025-02-06 at 12 31 30
  1. Part of the actions is hidden as they require design refinement

Popup list (sheet?): Action.emoji, Action.colorify
Complex popup (100% design is required) 1: Action.file, Action.image, Action.imagePopup, Action.link,
Complex actions: Action.table, Action.filePopup
Under consideration: Action.horizontalRule

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@d3m1d0v d3m1d0v changed the base branch from main to v15next February 6, 2025 09:40
@d3m1d0v
Copy link
Member

d3m1d0v commented Feb 6, 2025

I changed target branch to v15next because source branch contains commits from v15next

I suggest reviewing and merging this PR after we migrating to uikit7

@iapolya iapolya force-pushed the feat/mobile-mvp branch 2 times, most recently from 05c6811 to b98ca42 Compare February 6, 2025 11:05
Base automatically changed from v15next to main February 11, 2025 12:28
@iapolya iapolya force-pushed the feat/mobile-mvp branch 2 times, most recently from 4bce3f6 to 7c5aaca Compare February 11, 2025 15:31
const wCommandMenuConfig = cloneDeep(wysiwygToolbarConfigs.wCommandMenuConfig);
wCommandMenuConfig.unshift(wGptItemData);

const mToolbarConfig = cloneDeep(markupToolbarConfigs.mToolbarConfig);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets use toolbarPresets

export const mobilePreset: ToolbarsPreset = {
items: {
...zero.items,
[Action.bold]: {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need a new preset? Should the toolbar be any different?


const b = cn('select-popup');

export const SelectPopup: FC<SelectPopupProps> = ({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem like the best name, I would suggest PlatformPopup


import {SelectPopup} from '../bundle/SelectPopup';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the dependence should be the other way around

@iapolya iapolya marked this pull request as draft February 18, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mobile view
4 participants