docsify icon indicating copy to clipboard operation
docsify copied to clipboard

Fix #791

Open aenniw opened this issue 5 years ago • 12 comments

Signed-off-by: Martin Mihálek [email protected]

Summary

Fixed out of orded embedding of include files

What kind of change does this PR introduce? (check at least one)

  • [x] Bugfix
  • [ ] Feature
  • [ ] Code style update
  • [ ] Refactor
  • [ ] Docs
  • [ ] Build-related changes
  • [ ] Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • [ ] Yes
  • [x] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • [x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • [x] Chrome 74.0.3729.169
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] IE

If adding a new feature, the PR's description includes:

  • [ ] A convincing reason for adding this feature
  • [ ] Related documents have been updated
  • [ ] Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:


  • [ ] DO NOT include files inside lib directory.

aenniw avatar Jun 08 '19 15:06 aenniw

Addresses #791

aenniw avatar Jul 06 '19 10:07 aenniw

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 04 '20 07:02 stale[bot]

@aenniw please rebase and resolve the conflicts. also change the commit message. make it more detailed in order to fit better for changlog

anikethsaha avatar Feb 05 '20 17:02 anikethsaha

can you resolve the conflicts

anikethsaha avatar Feb 23 '20 19:02 anikethsaha

Rebased, however not sure whats Security Flow about...

aenniw avatar Feb 23 '20 22:02 aenniw

Not sure how to approach the tests, as It occurs only when embedded files are downloaded out of order mainly due their size difference and network delay... On local server setup despite big difference in embedded file sizes only way how to partially reproduce the issue is with throttling in browser...

aenniw avatar Apr 09 '20 07:04 aenniw

Added e2e scenario and updated live-server to delay serving of one of embedded files to replicate the issue...

aenniw avatar Apr 10 '20 09:04 aenniw

I agree with @Koooooo-7 , we cant show testing fixture in docs. @aenniw can you make those files just for the testing. try added script here. that file is copy-pasting content from the original docs. so after the copy-pasting, you can add function to create a file and write the content as you need or in some other way whichever you prefer. I know its a bit of extra work but we don't have strong test. and the issue addressing in this PR is quite common we noticed in chats. so it would be great to have a good setup and it will help in reviewing this better

anikethsaha avatar Apr 10 '20 15:04 anikethsaha

Extracted test specific blocks from docs, updated cypress setup.js to inline content before predefined tag

aenniw avatar May 11 '20 16:05 aenniw

Looking good

jthegedus avatar May 12 '20 01:05 jthegedus

CI fixed by updating reference img as new lines were added to docs via PR and it wasn't updated...

aenniw avatar May 12 '20 17:05 aenniw

Unfortunately (or fortunately, depending on your view) the test system changed from cypress to playwright, making a lot of conflicts in the PR. We need to update this to playwright.

trusktr avatar Jan 12 '22 05:01 trusktr