cyfronet-fid / eosc-portal-common

GNU General Public License v3.0
0 stars 2 forks source link

Eosc-portal-common rendering #182

Open Marcelinna opened 2 years ago

Marcelinna commented 2 years ago

1. element is rendered correctly, but the warning is in the network

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  </head>
  <body>
    <eosc-common-main-header
      username="name surname"
      login-url="https://marketplace.eosc-portal.eu/users/auth/checkin"
      logout-url="https://marketplace.eosc-portal.eu/users/logout"
    ></eosc-common-main-header>
    <div id="eosc-common-eu-information"></div>
    <EoscCommonMainFooter></EoscCommonMainFooter>

    <script src="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/index.production.min.js"></script>
    <link rel="stylesheet" href="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/index.production.min.css" />
  </body>
</html>

FIREFOX image

CHROME image

image

2. - navigation is not centered, character icon position is too high, there is a difference between chrome and firefox styles

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  </head>
  <body>
    <eosc-common-main-header
      username="name surname"
      login-url="https://marketplace.eosc-portal.eu/users/auth/checkin"
      logout-url="https://marketplace.eosc-portal.eu/users/logout"
    ></eosc-common-main-header>

    <script src="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/main-header.production.min.js"></script>
    <link rel="stylesheet" href="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/main-header.production.min.css" />
  </body>
</html>

FIREFOX image

CHROME image

image

  1. element is rendered correctly, but the warning is in the network

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script src="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/index.production.min.js"></script>
    <link rel="stylesheet" href="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/index.production.min.css" />
    </head>
    <body>
    <eosc-common-main-header
      username="name surname"
      login-url="https://marketplace.eosc-portal.eu/users/auth/checkin"
      logout-url="https://marketplace.eosc-portal.eu/users/logout"
    ></eosc-common-main-header>
    <script>
      window.renderCustomComponent(window.EoscCommonMainHeader, { tagName: "eosc-common-main-header" });
    </script>
    
    <div id="eosc-common-eu-information"></div>
    <script>
      window.renderCustomComponent(window.EoscCommonEuInformation, { id: "eosc-common-eu-information" });
    </script>
    
    <EoscCommonMainFooter></EoscCommonMainFooter>
    <script>
      window.renderCustomComponent(window.EoscCommonMainFooter, { tagName: "EoscCommonMainFooter" });
    </script>
    </body>
    </html>

FIREFOX image

CHROME image

image


image

  1. it render nothing

    <div class="eosc-common-eu-information"></div>
    <div id="eosc-common-eu-information"></div>

    image

  2. works properly

    <eosc-common-eu-information></eosc-common-eu-information>
    <EoscCommonEuInformation></EoscCommonEuInformation>

image

image

  1. it render nothing <div id="eosc-common-main-footer"></div>

  2. works properly

    <EoscCommonMainFooter></EoscCommonMainFooter>
    <eosc-common-main-footer></eosc-common-main-footer>
    <div class="eosc-common-main-footer"></div>

    image

  3. it render nothing

    <div
    id="eosc-common-main-header"
    username="name surname"
    login-url="https://marketplace.eosc-portal.eu/users/auth/checkin"
    logout-url="https://marketplace.eosc-portal.eu/users/logout"
    ></div>
  4. work properly

    <eosc-common-main-header
    username="name surname"
    login-url="https://marketplace.eosc-portal.eu/users/auth/checkin"
    logout-url="https://marketplace.eosc-portal.eu/users/logout"
    ></eosc-common-main-header>

<EoscCommonMainHeader username="name surname" login-url="https://marketplace.eosc-portal.eu/users/auth/checkin" logout-url="https://marketplace.eosc-portal.eu/users/logout"

<div class="eosc-common-main-header" username="name surname" login-url="https://marketplace.eosc-portal.eu/users/auth/checkin" logout-url="https://marketplace.eosc-portal.eu/users/logout"


  1. element is rendered correctly, but the warning is in the network
    
    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script src="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/index.production.min.js"></script>
    <link rel="stylesheet" href="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/index.production.min.css" />
    </head>
    <body>
    <div id="custom-css-class"></div>
    <script>
    window.renderCustomComponent(window.EoscCommonEuInformation, { id: "custom-css-class" });
    </script>

![image](https://user-images.githubusercontent.com/59872096/152808598-d16f7755-cd4b-45d4-884e-42653cf0b444.png)
  1. element is rendered correctly, but the warning is in the network <!DOCTYPE html>

    
    ![image](https://user-images.githubusercontent.com/59872096/152808824-e91aa6f2-3668-4193-92a3-0e522b7fb659.png)
  2. element is rendered correctly, but the warning is in the network

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script src="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/index.production.min.js"></script>
    <link rel="stylesheet" href="https://s3.cloud.cyfronet.pl/eosc-portal-common/latest/index.production.min.css" />
  </head>
  <body>
    <div
    id="custom-css-class"
    username="name surname"
    login-url="https://marketplace.eosc-portal.eu/users/auth/checkin"
    logout-url="https://marketplace.eosc-portal.eu/users/logout"
  ></div>
  <script>
    window.renderCustomComponent(window.EoscCommonMainHeader, { id: "custom-css-class" });
  </script>

  <div
    class="custom-css-class"
    username="name surname"
    login-url="https://marketplace.eosc-portal.eu/users/auth/checkin"
    logout-url="https://marketplace.eosc-portal.eu/users/logout"
  ></div>
  <script>
    window.renderCustomComponent(window.EoscCommonMainHeader, { className: "custom-css-class" });
  </script>

  <custom-tag-name
    username="name surname"
    login-url="https://marketplace.eosc-portal.eu/users/auth/checkin"
    logout-url="https://marketplace.eosc-portal.eu/users/logout"
  ></custom-tag-name>
  <script>
    window.renderCustomComponent(window.EoscCommonMainHeader, { tagName: "custom-tag-name" });
  </script>
  </body>
</html>

image

github-actions[bot] commented 2 years ago

Hi @Marcelinna. Thank you for raising an issue. We will will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.

danielkryska commented 2 years ago
danielkryska commented 2 years ago