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

Open
opened 2022-01-05 11:04:47 +05:30 by realaravinth · 12 comments
realaravinth commented 2022-01-05 11:04:47 +05:30 (Migrated from github.com)

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

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 commented 2022-01-05 11:04:51 +05:30 (Migrated from github.com)
https://libmedium.batsense.net/sinhanurag/batch-an-api-to-bundle-multiple-paypal-rest-operations-6af6006e002
realaravinth commented 2022-01-05 11:53:33 +05:30 (Migrated from github.com)

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
}
> https://libmedium.batsense.net/sinhanurag/batch-an-api-to-bundle-multiple-paypal-rest-operations-6af6006e002 [ebb5d5175](https://github.com/realaravinth/libmedium/commit/ebb5d5175b337ac42c0b39bd1cc8d4d6859e7d1b) 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: ```json { "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 commented 2022-01-05 12:43:30 +05:30 (Migrated from github.com)

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.

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](https://github.com/realaravinth/libmedium/tree/df14f8b0b868e35b491449c1c2a466bd5b002e97)) but ordered list styling in this article is a little weird due to the reason mention above.
edwardloveall commented 2022-01-16 03:40:47 +05:30 (Migrated from github.com)

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

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 commented 2022-01-16 09:12:09 +05:30 (Migrated from github.com)

Thanks for the report @edwardloveall :)


fixed(574d14)

Thanks for the report @edwardloveall :) --- fixed([574d14](https://github.com/realaravinth/libmedium/commit/574d14714d56d26536929ca73e945fa10352ca14))
PrivacyDevel commented 2022-12-04 23:41:46 +05:30 (Migrated from github.com)
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 commented 2023-02-17 08:26:40 +05:30 (Migrated from github.com)
Some issues with this one: https://md.vern.cc/@pravse/the-maze-is-in-the-mouse-980c57cfd61a
realaravinth commented 2023-02-17 18:52:01 +05:30 (Migrated from github.com)

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

@Surendrajat: Thanks for reporting, bedbef97e8 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: Firstly, apologies for taking so long to respond. https://github.com/realaravinth/libmedium/commit/fc371487fdacb7db61156dd6104661a189f72339 and https://github.com/realaravinth/libmedium/commit/bedbef97e81d1b744eaca8825e8e67918ba7ac47 fix the formatting issues on the post you linked. @Surendrajat: Thanks for reporting, https://github.com/realaravinth/libmedium/commit/bedbef97e81d1b744eaca8825e8e67918ba7ac47 fixes the issues in the post you linked. Changes are deployed on the flagship instance, please see [here](https://libmedium.batsense.net/pravse/the-maze-is-in-the-mouse-980c57cfd61a) to view the post without the warnings :)
PrivacyDevel commented 2023-02-17 20:25:31 +05:30 (Migrated from github.com)

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.

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 commented 2023-02-17 22:37:57 +05:30 (Migrated from github.com)

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 😓

> 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 :sweat:
beucismis commented 2023-02-19 16:41:00 +05:30 (Migrated from github.com)
Some issues: https://md.vern.cc/pragmatech/orm-for-python-b63cfbc39e7f
PrivacyDevel commented 2023-02-19 19:06:25 +05:30 (Migrated from github.com)

@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.

@beucismis this seems to already be working [just fine](https://libmedium.batsense.net/pragmatech/orm-for-python-b63cfbc39e7f) on the official instance https://libmedium.batsense.net/ That's just vern's instance being out of data as far as I can tell.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: realaravinth/libmedium#1
No description provided.