decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

Make the CMS work for mobile (responsive UI)

Open bdougie opened this issue 8 years ago • 44 comments

- Do you want to request a feature or report a bug? Enhancement: It would be nice to quickly check in on a post on the CMS from my phone

- What is the current behavior? The current UI has no consideration for mobile and non-usable from a mobile device.

img_1018 png img_1019

- If the current behavior is a bug, please provide the steps to reproduce. Look at the https://cms-demo.netlify.com/ from your phone.

- What is the expected behavior? The editor can be ignored for now because it would require a larger scope. However, the editorial workflow and list of posts could be tweaked quickly fit on a mobile screen. Even it was just a list of post.

I recently had a situation where I was AFK and needed to ship a blog post from my phone. My only option was logging into GitHub and merging the PR, but it would have been nice to just hit publish from the CMS

- Please mention your node.js, and operating system version. iPhone 7

bdougie avatar Jun 02 '17 19:06 bdougie

am so waiting for this too

sachgits avatar Jun 24 '17 14:06 sachgits

@rafaelconde 🙏 🙏 🙏

I'd at-mention @danielpost but he's not a collaborator. Maybe I should add him as a collaborator...

erquhart avatar Jun 28 '17 01:06 erquhart

Oh snap it worked! Going to add him anyway :)

erquhart avatar Jun 28 '17 01:06 erquhart

@erquhart Sweet, thanks!

I'm too busy for the next ~2 weeks but I'm going to take a crack at designing potential interfaces for the CMS over the summer.

EDIT: With that being said, I think it's important to prioritize properly. Do we want to optimize the current state of the app for mobile, or do we want to wait for the new design? Do we start working on a mobile version when the main parts of the new design aren't even set in stone yet? I'm guessing #180 is a better place to discuss those issues though.

danielpost avatar Jul 01 '17 11:07 danielpost

@danielpost super excited that you're looking into this! I think it'd be okay to do this as a part of the greater design improvement effort, since it's slated for 1.0.

erquhart avatar Jul 02 '17 04:07 erquhart

The main improvement that I see on this is just to make it responsive -- most of the general UI as it stands should work fine on mobile. @erquhart Do you think this should be done mainly after the general UI improvement, or as part of it?

tech4him1 avatar Oct 12 '17 17:10 tech4him1

A little of both, there will be some basic effort to ensure that things are more or less responsive, but actually optimizing for mobile will probably happen post-1.0, as it goes beyond just the UI. The markdown editor, for example, might need a bit of work to function properly on a touch device.

erquhart avatar Oct 23 '17 19:10 erquhart

So this isn't addressed in 1.0, but it's sort of better. The real reason we aren't pushing mobile is that there are technical issues beyond layout responsiveness - for example, Slate doesn't officially support touch input. Making the CMS work on a mobile touch device will require a good amount of effort, but it's definitely something to push for.

erquhart avatar Dec 09 '17 06:12 erquhart

there appear to be some traction for adding mobile support to Slate https://github.com/ianstormtaylor/slate/issues/1656#issuecomment-372186682

01ivr3 avatar Mar 16 '18 10:03 01ivr3

Updated Slate mobile issue: https://github.com/ianstormtaylor/slate/issues/1720.

tech4him1 avatar May 09 '18 20:05 tech4him1

Closing #1339 as a duplicate of this.

erquhart avatar Feb 01 '19 22:02 erquhart

Updated Slate issue: https://github.com/ianstormtaylor/slate/issues/2062.

tech4him1 avatar Feb 02 '19 20:02 tech4him1

Any update on this? It'd be really handy to be able to edit my blog on mobile :)

binaryoverload avatar Sep 07 '19 12:09 binaryoverload

Any updated on this? Can I work on this issue if no one is doing that? I really want the feature.

niyabits avatar Nov 02 '19 10:11 niyabits

Hi @yashguptaz - we’re always open to community contributions! I would recommend starting with a small PR that addresses one aspect of this issue. Maybe try making the sidebar in the collections view responsive?

If you’re up for that, create an issue outlining what you want to tackle first, and maybe spell out design decisions there (Eg., where the collections sidebar would be on mobile, is it hidden, how does show/hide work, etc).

Let me know what you think!

Sent with GitHawk

erquhart avatar Nov 02 '19 21:11 erquhart

Fix for https://github.com/ianstormtaylor/slate/issues/2062 was released Nov 27 in 0.50.0 so updating netlify's slate deps currently 0.47 should help significantly (likely will cause some breakages that need to be fixed though).

edrex avatar Mar 16 '20 03:03 edrex

We are building this into our UI refresh as part of #2557. Responsive design is something we are prioritizing in each screen and component as part of this effort. You are welcome to help as @erquhart mentioned. We are working off of the v3-ui-redesign branch.

austincondiff avatar Mar 16 '20 04:03 austincondiff

I'm happy to help with testing, as mobile editing is important for me. Is that branch ready for testing?

edrex avatar Mar 16 '20 18:03 edrex

@edrex Not yet. There is still quite a bit of work to do. You can preview it here, and check out the components in our Storybook here. There is a button you can use to toggle between various screen sizes here... image

austincondiff avatar Mar 16 '20 19:03 austincondiff

+1, mobile editing is really needed. Also, when editing a markdown widget while on mobile, it's completely broken: you can't type anything, only copy paste, as the cursor jumps all over the place and only half the stuff I type actually goes into the textarea. Here's me trying to type "Most of the stuff I type doesn't get put in the textarea", with spaces replaced by underscores: ___f____p_n___

Nixinova avatar Mar 24 '20 01:03 Nixinova

Here are some mobile concepts...

m01-dashboard m02-dashboard-scrolled m03-collection-view-thumb m04-collection-view-list m05-collection-view-scrolled m06-editor-view m07-editor-view-scrolled m08-editor-view-new

austincondiff avatar Mar 24 '20 14:03 austincondiff

@austincondiff as I’ve mentioned in chat, these designs are 🔥🔥🔥

@edrex sorry for the late reply here but just so everyone is clear, upgrading to Slate >= 0.50 will require a complete and exhaustive overhaul of the markdown widget internals. This will definitely happen, just not at the top of the pile yet.

erquhart avatar Mar 25 '20 12:03 erquhart

@austincondiff This is wonderful! @erquhart Any hope this responsive design is included in a future version of netlify-cms?

eur2 avatar Apr 12 '20 16:04 eur2

While waiting for official mobile support, I’ve came out with my temporary CSS solution to include to your admin/index.html below your closing </body> tag so it can overwrite netlify-generated css.

admin.css

Screenshots are here

Hope it helps temporarily! Peace ✌🏼

truongoi avatar Apr 25 '20 19:04 truongoi

Very cool @truongoi thanks for sharing!

erezrokah avatar Apr 26 '20 08:04 erezrokah

I see a lot of commits on this issue. Is there any information on when there might be a release, even maybe a beta release?

For me, mobile is critical. I specifically decided to put together a Netlify CMS instance in order to post to my blog from my phone. I don't need a CMS when using my desktop.

goodevilgenius avatar Aug 18 '20 21:08 goodevilgenius

Hi @goodevilgenius, there is a bigger effort on improving the UX and UI. You can track it here: https://github.com/netlify/netlify-cms/projects/9

Also see https://github.com/netlify/netlify-cms/issues/441#issuecomment-603811698

erezrokah avatar Aug 19 '20 10:08 erezrokah

Just to add another voice, not being able to use a mobile phone is a real let down. This 3.5 year old issue is a reason for me too look for other options.

erikkroes avatar Dec 11 '20 09:12 erikkroes

Just to add another voice, not being able to use a mobile phone is a real let down. This 3.5 year old issue is a reason for me too look for other options.

I strongly agree with this sentiment.

blakedietz avatar Jul 24 '21 23:07 blakedietz

Just throwing my had in the ring.

clarkhacks avatar Nov 20 '21 22:11 clarkhacks