Git Product home page Git Product logo

Comments (10)

DonKoko avatar DonKoko commented on July 3, 2024 1

@jurrejansen would be nice to add some default styling for tables as they look like this atm:
Screenshot 2023-05-15 at 17 11 54

My suggestions:

  • Add borders(maybe some light gray)
  • Add some more spacing to the cells?
  • Add a background color to the head row
  • Add alternating bg colors of the table body rows

Could you do a quick design so I can implement it? Thanks.

from shelf.nu.

DonKoko avatar DonKoko commented on July 3, 2024

@carlosvirreira @jurrejansen this needs review.

from shelf.nu.

jurrejansen avatar jurrejansen commented on July 3, 2024

Hi @DonKoko

Screenshot 2023-05-01 at 16 34 25

Seems to be working nicely for the most part. What I noticed:

  • Can we underline links and change font color to primary orange on hover?
  • Looks like clicking on links currently causes Application error
Screen.Recording.2023-05-01.at.16.39.19.mov

Currently there's no styling for Block Quote and Code Block markdown syntaxes. But I don't think it's really necessary at the moment. Let me know if I should provide design or we skip.

  • Maybe we can give the headings and paragraphs default top and bottom margins, or at least the headings. This way when a user uses this it looks better

Something like this maybe

Paragraphs (margin-bottom: 16px;)
Heading 1 (margin-bottom: 16px;)
Heading 2 (margin-bottom: 16px;) (margin-top: 24px;)
Heading 3 (margin-bottom: 16px;) (margin-top: 24px;)

Screenshot 2023-05-01 at 16 43 59

from shelf.nu.

DonKoko avatar DonKoko commented on July 3, 2024

@jurrejansen man, amazing testing. I will check everything.

from shelf.nu.

carlosvirreira avatar carlosvirreira commented on July 3, 2024

This guy @jurrejansen is the master tester

from shelf.nu.

DonKoko avatar DonKoko commented on July 3, 2024

Seems to be working nicely for the most part. What I noticed:

Can we underline links and change font color to primary orange on hover?
Looks like clicking on links currently causes Application error

Done

Currently there's no styling for Block Quote and Code Block markdown syntaxes. But I don't think it's really necessary at the moment. Let me know if I should provide design or we skip.

Maybe we can give the headings and paragraphs default top and bottom margins, or at least the headings. This way when a user uses this it looks better

Both are done. I did it a bit different with the spacings but it works better now.

Image

from shelf.nu.

jurrejansen avatar jurrejansen commented on July 3, 2024

@DonKoko noice one, a couple of other things I notice

  • Clicking a link still ends with application error

  • By adding the spacing we introduced whitespace that makes the text content in the note container to not be in the center. Not a big deal and kinda nitpicky but maybe there's an easy way to disable the spacing when it's the last line of a note post.

Screenshot 2023-05-04 at 10 26 23

Not sure what was decided on images in notes for MVP but this is what I found

  • Dragging in an image currently only places the 'path' to an image and does not apply the proper syntax for adding an image

  • When adding an image with the proper markdown syntax the image does not show

Screenshot 2023-05-04 at 10 22 24

from shelf.nu.

DonKoko avatar DonKoko commented on July 3, 2024

Clicking a link still ends with application error

Link was not formatted properly. Still it should give a 404 not application error. This will be handled in #37

Dragging in an image currently only places the 'path' to an image and does not apply the proper syntax for adding an image

Not doing this in MVP

When adding an image with the proper markdown syntax the image does not show

Should be like this:
![Image alt text](http://streamertactics.com/wp-content/uploads/2022/07/widepeepophappy-emote-300x200.png)

from shelf.nu.

jurrejansen avatar jurrejansen commented on July 3, 2024

@DonKoko made a design based on the item index table, but a bit compacter. It's on the "View Item" page in Figma

Screenshot 2023-05-15 at 17 39 17

from shelf.nu.

DonKoko avatar DonKoko commented on July 3, 2024

Deployed the table. CLosing this issue for now.

from shelf.nu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.