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

[Rendering] Repititions, wrong formatting, etc. tracking issue #1

Open
realaravinth opened this issue Jan 5, 2022 · 17 comments
Open
Labels
bug Something isn't working

Comments

@realaravinth
Copy link
Owner

This issue tracks all rendering bugs in libmedium. To report a rendering bug, please comment the URL of article which caused the bug and I'll try to investigate and fix it

@realaravinth realaravinth added the bug Something isn't working label Jan 5, 2022
@realaravinth realaravinth pinned this issue Jan 5, 2022
@realaravinth
Copy link
Owner Author

https://libmedium.batsense.net/sinhanurag/batch-an-api-to-bundle-multiple-paypal-rest-operations-6af6006e002

ebb5d5175 partially fixes this

The repetition in third paragraph("Earlier this year...") is because of nested formatting. A part of this paragraph is styled as both "EM" and "STRONG". I'll have rewrite rendering routines to accommodate nested formatting rules like this one:

{
  "text": "Earlier this year, Aniket Pol and I started working on a project that would allow for logical bundling of these different REST API operations into one single API call on an as-needed basis. The primary motivation behind this being; cutting down on the number of API calls between external clients (merchants and developers) and PayPal or between different internal services at PayPal.",
  "type": "P",
  "href": null,
  "layout": null,
  "markups": [
    {
      "title": "",
      "type": "A",
      "href": "https://www.linkedin.com/in/aniket-pol/",
      "userId": null,
      "start": 19,
      "end": 29,
      "anchorType": "LINK"
    },
    {
      "title": null,
      "type": "STRONG",
      "href": null,
      "userId": null,
      "start": 173,
      "end": 188,
      "anchorType": null
    },
    {
      "title": null,
      "type": "EM",
      "href": null,
      "userId": null,
      "start": 173,
      "end": 188,
      "anchorType": null
    }
  ],
  "iframe": null,
  "metadata": null
}

@realaravinth
Copy link
Owner Author

realaravinth commented Jan 5, 2022

Ordered lists: https://libmedium.batsense.net/alex285/cinnamon-workspaces-is-a-showcase-of-terrible-design-a070513ac371

But this article's ordered list includes only a single list item and the other list items are rendered as paragraphs by medium.com(the contain list numbering as part of their content)


fixed(df14f) but ordered list styling in this article is a little weird due to the reason mention above.

@edwardloveall
Copy link

GitHub Gists with multiple files where one file is specified ignore the single file and show every file in the gist: https://libmedium.batsense.net/@deepak-v/validations-in-python-using-metaprogramming-and-decorators-advanced-python-ee4d4278a6b3

@realaravinth
Copy link
Owner Author

realaravinth commented Jan 16, 2022

Thanks for the report @edwardloveall :)


fixed(574d14)

@PrivacyDevel
Copy link

I found this one that seems to contain a lot of formatting issues: https://libmedium.batsense.net/fintechexplained/everything-about-python-from-beginner-to-advance-level-227d52ef32d2

@Surendrajat
Copy link

Surendrajat commented Feb 17, 2023

Some issues with this one: https://md.vern.cc/@pravse/the-maze-is-in-the-mouse-980c57cfd61a

@realaravinth
Copy link
Owner Author

realaravinth commented Feb 17, 2023

@PrivacyDevel: Firstly, apologies for taking so long to respond. fc37148 and bedbef9 fix the formatting issues on the post you linked.

@Surendrajat: Thanks for reporting, bedbef9 fixes the issues in the post you linked. Changes are deployed on the flagship instance, please see here to view the post without the warnings :)

@PrivacyDevel
Copy link

No worries. I'm happy to hear that you got around to fixing it. :)

Unfortunately it seems like the instance libmedium.batsense.net is currently broken. It just shows the template skeleton right now. Would be happy to check it out, once it's working again.

@realaravinth
Copy link
Owner Author

Unfortunately it seems like the instance libmedium.batsense.net is currently broken. It just shows the template skeleton right now. Would be happy to check it out, once it's working again.

Yikes, I pushed a commit that updated the template engine. The tests passed so I assumed everything was fine. It's reverted to the old version now, everything seems to be working 😓

@beucismis
Copy link

beucismis commented Feb 19, 2023

Some issues: https://md.vern.cc/pragmatech/orm-for-python-b63cfbc39e7f

@PrivacyDevel
Copy link

@beucismis this seems to already be working just fine on the official instance https://libmedium.batsense.net/
That's just vern's instance being out of data as far as I can tell.

@throwaway-d
Copy link

https://md.vern.cc/@maxdeutsch/how-i-learned-to-draw-realistic-portraits-in-only-30-days-3fb8e8eccee0
Start from 1. Likeness

@PrivacyDevel
Copy link

@throwaway-d see my comment above yours. The same applies here.

@throwaway-d
Copy link

@throwaway-d see my comment above yours. The same applies here.

Looks like the same applies.

@mortezadadgar
Copy link

https://medium.hostux.net/@nadinCodeHat/rest-api-naming-conventions-and-best-practices-1c4e781eb6a5
start from References:

@realaravinth
Copy link
Owner Author

@mortezadadgar: thanks for the report, it's fixed on the flagship instance. Please see here

Aside: I'll try to do a release soon, maybe it will help instance admins monitor and update their instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants