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

Opening an article in a new tab or window displays a blank page #15

Closed
gbrivady opened this issue Sep 28, 2022 · 3 comments · Fixed by #63
Closed

Opening an article in a new tab or window displays a blank page #15

gbrivady opened this issue Sep 28, 2022 · 3 comments · Fixed by #63
Assignees
Labels
bug Something isn't working good first issue Good for newcomers Priority: Low The Issue will be address only if other tasks are done Severity: Minor The bug or Issue can be annoying for the user

Comments

@gbrivady
Copy link
Member

gbrivady commented Sep 28, 2022

Title is self explanatory. Right-click -> "Open in a new tab/window" displays a blank page instead of the article.
Issue happens on both Chrome Version 105/106 and Firefox Version 105 on Windows 10.

Details:

  • OS: Windows 10
  • npm version: 8.19.1
  • node version: 18.9.1
@atxr atxr self-assigned this Sep 28, 2022
@atxr atxr added the bug Something isn't working label Sep 28, 2022
@atxr
Copy link
Contributor

atxr commented Sep 28, 2022

Thanks, I will figure out what's going on 🤔

@gbrivady
Copy link
Member Author

I looked at the source code of the blank page (see end of comment), and it appears to display the template page, instead of running whatever script should be running to display the correct article.

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="[/favicon.ico](http://localhost:3000/favicon.ico)" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="theme-color" content="#000000" />
    <meta
      name="description"
      content="Web site created using create-react-app"
    />
    <link rel="apple-touch-icon" href="[/logo192.png](http://localhost:3000/logo192.png)" />
    <!--
      manifest.json provides metadata used when your web app is installed on a
      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
    -->
    <link rel="manifest" href="[/manifest.json](http://localhost:3000/manifest.json)" />
    <!--
      Notice the use of  in the tags above.
      It will be replaced with the URL of the `public` folder during the build.
      Only files inside the `public` folder can be referenced from the HTML.

      Unlike "/favicon.ico" or "favicon.ico", "/favicon.ico" will
      work correctly both with client-side routing and a non-root public URL.
      Learn how to configure a non-root public URL by running `npm run build`.
    -->
    <title>React App</title>
  <script defer src="[/static/js/bundle.js](http://localhost:3000/static/js/bundle.js)"></script></head>
  <body>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="root"></div>
    <!--
      This HTML file is a template.
      If you open it directly in the browser, you will see an empty page.

      You can add webfonts, meta tags, or analytics to this file.
      The build step will place the bundled scripts into the <body> tag.

      To begin the development, run `npm start` or `yarn start`.
      To create a production bundle, use `npm run build` or `yarn build`.
    -->
  </body>
</html>

@ctmbl ctmbl added the Severity: Minor The bug or Issue can be annoying for the user label Sep 28, 2022
@atxr
Copy link
Contributor

atxr commented Sep 29, 2022

Yes that's looks correct. I'll try to find out what's happening

@ctmbl ctmbl added this to the iScsc blog v0.0.2 milestone Sep 30, 2022
@ctmbl ctmbl added the good first issue Good for newcomers label Nov 13, 2022
@ctmbl ctmbl added the Priority: Unknown The priority of this issue is still unknown label Nov 25, 2022
@ctmbl ctmbl added Priority: Low The Issue will be address only if other tasks are done and removed Priority: Unknown The priority of this issue is still unknown labels Dec 12, 2022
@ctmbl ctmbl assigned gbrivady and unassigned atxr Dec 16, 2022
@ctmbl ctmbl closed this as completed in #63 Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers Priority: Low The Issue will be address only if other tasks are done Severity: Minor The bug or Issue can be annoying for the user
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants