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

Image settings #202

Closed
koke opened this issue Oct 29, 2018 · 8 comments
Closed

Image settings #202

koke opened this issue Oct 29, 2018 · 8 comments
Assignees
Labels
Milestone

Comments

@koke
Copy link
Member

koke commented Oct 29, 2018

Implement the image inspector with image settings. Since we're not likely to have the block inspector in the beta, it's OK to present the image settings on a modal view or similar, we'll have to figure out a temporary UI that looks good and it's easy to implement.

For reference, the image settings I'm seeing on the web:

  • Alt text
  • Image size
  • Link settings
@koke koke added this to the Beta milestone Oct 29, 2018
@koke koke mentioned this issue Oct 29, 2018
10 tasks
@koke
Copy link
Member Author

koke commented Nov 6, 2018

From @mzorz:

Assuming the UI is defined beforehand, I’d give this roughly 1 week (I’m actually thinking 1 to 2 days for implementation but I expect some back and forth with design iterations plus testing). What I’m thiking this internally does is:

  • create the modal showing current settings for width/height and alt, and link settings
  • with that, take the values and validate params, then re-write the html correspondingly when the user hits OK to accept any modifications they may have done
  • re-render block if applies (probably this is done automatically, it’s React after all)

Estimation: 1 week

@etoledom etoledom self-assigned this Jan 17, 2019
@etoledom
Copy link
Contributor

Create the modal showing current settings for width/height and alt, and link settings

Looking at the web version, that modal should look something like this:

img_0028

I have the following question:

  • Are all those controls required for this ticket?

And also looking at the web version, if we follow closely, the button that would make that modal appear would be a new "settings" button like this one:

screen shot 2019-01-21 at 4 48 03 pm

Leaving the edit "pencil" button to change the image.

cc @koke @hypest @iamthomasbishop

@hypest
Copy link
Contributor

hypest commented Jan 22, 2019

Are all those controls required for this ticket?

I'd say yes, but it should be fine to tackle them in steps.

And also looking at the web version, if we follow closely, the button that would make that modal appear would be a new "settings" button like this one:

I think we can use the "cog" button we already have on the inline toolbar, at least for now.

@koke
Copy link
Member Author

koke commented Jan 23, 2019

I think parity with Aztec should be the minimum, which IIRC means that image dimensions is the only optional one. It can be a nice to have if it’s not too much extra effort

@hypest
Copy link
Contributor

hypest commented Jan 29, 2019

We chatted over Slack with @iamthomasbishop and @etoledom and we think that the most "straightforward" route right now for the February Beta is to go full-RN with the image settings, since that will be less moving parts to wrangle and less developer resources to allocate. 🤞

It's understood that full-RN will not give us the platform-native look and feel we'd like for this but, it's sacrifice we can iterate on afterwards.

@etoledom
Copy link
Contributor

etoledom commented Feb 7, 2019

As we discussed, we are dropping the Image size setting due to the necessity of networking, that is not scoped to be worked for the first Beta.

@etoledom
Copy link
Contributor

etoledom commented Feb 7, 2019

This task was developed in small parts, with these corresponding PRs:

@etoledom
Copy link
Contributor

etoledom commented Mar 6, 2019

First iteration of Image Settings is ready via all the PR mentioned on #202 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants