Skip to content

Conversation

@kingraphaii
Copy link
Contributor

@kingraphaii kingraphaii commented Mar 11, 2024

Related issues: [please specify]
image

Description:

What are you up to? Fill us in :)

Screenshots/videos

I solemnly swear that:

  • My code follows the style guidelines of this project
  • I have merged the develop branch into my branch and fixed any merge conflicts
  • I have performed a self-review of my own code
  • I have commented my code in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have tested new or existing tests and made sure that they pass

@kingraphaii kingraphaii marked this pull request as ready for review March 11, 2024 17:30
Copy link
Contributor

@Ngoakor12 Ngoakor12 left a comment

Choose a reason for hiding this comment

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

fixes the issue 😄

Copy link
Collaborator

@sheenarbw sheenarbw left a comment

Choose a reason for hiding this comment

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

I'm sure there is a better way. This is "fixed" for now but it'll need to be fixed again as soon as we implement other pages. Chances are it'll confuse someone down the line or act as a bug because maybe we wont remember to fix it again.


<div class="grid grid-cols-2 grid-auto-rows-1fr gap-x-10 gap-y-10 w-full h-[auto]">
<div class="col-span-1 row-span-1 w-full">
{%if card.content_item.content_type_nice == "project" and card.content_item.project_submission_type_nice == "link" %}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will need to be fixed again as soon as the topic details page is in place.

Why not rather fix it in a perminant way?

You can make placeholder views for the different types of content and then the link can go there. And then the actual pages can get implemented later.

If you fix something in a way that means you need to fix it again later, is it really fixed? Let's steer clear of duct-tape

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.

4 participants