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

fix: Shared solution view #376

Merged
merged 1 commit into from
Mar 24, 2024
Merged

fix: Shared solution view #376

merged 1 commit into from
Mar 24, 2024

Conversation

yammesicka
Copy link
Member

No description provided.

@yammesicka yammesicka merged commit d092cd9 into master Mar 24, 2024
3 checks passed
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @yammesicka - I've reviewed your changes and they look great!

General suggestions:

  • Verify the dependency chain among the JavaScript files to ensure the reordering does not affect their execution.
  • Consider adding a brief comment in the code explaining the reason for the specific ordering of script and template includes, for future maintainability.
Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Docstrings: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

Comment on lines 150 to 153
<script src="{{ url_for('static', filename='markdown.js') }}"></script>
{% if not shared_url %}
{% include 'comment-template.html' %}
<script src="{{ url_for('static', filename='comments.js') }}"></script>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question (code_refinement): Ensure 'markdown.js' is not dependent on 'comment-template.html'.

Given the reordering, confirm that 'markdown.js' does not have any dependencies on 'comment-template.html' being loaded first.

@yammesicka yammesicka deleted the fix-shared-solution branch March 24, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant