question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Bug: Markdown Message Ordering got shuffled?

See original GitHub issue

Example code:

	markdown(assembleTable(recentBuildHeaders, recentBuildLinks));
	markdown(
		makeDisclosableBlock(
			`All commits with builds for ${currentBranchName}`,
			assembleTable(allBuildHeaders, allBuildLinks),
		),
	);
	markdown(
		"#### Latest Build Status Pages\n" +
			assembleTable(buildBadgeTableHeaders, [buildBadgeTableValues]),
	);

This code hasnā€™t been changed since 2019-03-29

Expected Rendering (from last week): screenshot of danger comment in expected layout

Yesterdayā€™s Rendering: screenshot of danger comment with some of the markdown messages out of order

If you compare the code, to the renderings, the ā€œLatest Build Status Pagesā€ table is expected to be last.

It appears weā€™re using danger@8.0.0 ā€“ will try updating, to see what happens.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
falkenhawkcommented, Nov 2, 2022

Youā€™re welcome to fix it šŸ‘

#1336 @orta

1reaction
ortacommented, Mar 8, 2020

Looks like itā€™s been around while https://github.com/danger/danger-js/issues/845 - so if no-one else has also thought it important enough to work on, thatā€™s fine IMO

Read more comments on GitHub >

github_iconTop Results From Across the Web

Notebook outline is using # characters outside of markdown ...
Notebook outline is using # characters outside of markdown headings #115205 Ā· Issue identified by VS Code Team member as probable bug Ā·...
Read more >
Channel | Stream Chat - React Native SDK Docs - GetStream.io
The Channel component is the main entry point for many Stream Chat customizations and contains the majority of the content providers and a...
Read more >
SugarCube v2 Documentation - Motoslave.net
Introduction. This documentation is a reference for SugarCube, a free (gratis and libre) story format for Twine/Twee.
Read more >
Static Constructor Failures and Declaration Order - Rick Strahl
It turns out the issue has to do with constructor calls nesting and the order in which auto-initialized values are assigned.
Read more >
Setting variables (and doing other things) with questions
In order for the variable to be set to the special Python values True and False , you need ... An error message...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found