You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/19 09:40:22 UTC

[GitHub] [airflow-site] wolfier opened a new issue #361: Cannot select Airflow version on CLI and Macros Documentation

wolfier opened a new issue #361:
URL: https://github.com/apache/airflow-site/issues/361


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the following questions.
   Don't worry if they're not all applicable; just try to include what you can :-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   <!--
   
   IMPORTANT!!!
   
   PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE
   NEXT TO "SUBMIT NEW ISSUE" BUTTON!!!
   
   PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!!
   
   Please complete the next sections or the issue will be closed.
   These questions are the first thing we need to know to understand the context.
   
   -->
   
   **Apache Airflow version**: N/A
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): N/A
   
   **Environment**:
   
   - **Chrome Version**: Version 87.0.4280.88 (Official Build) (x86_64)
   -  **Safari Version**: Version 14.0 (15610.1.28.1.9, 15610)
   
   **What happened**:
   
   I was unable to select the version for the documentation page on CLI and Macros
   
   <!-- (please include exact error messages if you can) -->
   
   **What you expected to happen**:
   
   I expect to be able to select the version and for there to be no errors on the console.
   
   **How to reproduce it**:
   
   Go to the [Macros](https://airflow.apache.org/docs/apache-airflow/stable/macros-ref.html
   ) or [CLI](https://airflow.apache.org/docs/apache-airflow/stable/macros-ref.html) reference documentation.
   
   Check chrome console.
   
   CLI
   ```
   Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '#Positional%20Arguments' is not a valid selector.
   ```
   ![Screen Shot 2020-12-18 at 3 25 41 PM](https://user-images.githubusercontent.com/5952735/102672335-56382100-4145-11eb-9b03-7dcdc69f96a3.png)
   
   Macros
   ```
   Uncaught TypeError: Cannot read property 'offsetTop' of null
   ```
   ![Screen Shot 2020-12-18 at 3 25 34 PM](https://user-images.githubusercontent.com/5952735/102672339-589a7b00-4145-11eb-99bc-d81245a91c9d.png)
   
   
   
   <!---
   
   As minimally and precisely as possible. Keep in mind we do not have access to your cluster or dags.
   
   If you are using kubernetes, please attempt to recreate the issue using minikube or kind.
   
   ## Install minikube/kind
   
   - Minikube https://minikube.sigs.k8s.io/docs/start/
   - Kind https://kind.sigs.k8s.io/docs/user/quick-start/
   
   If this is a UI bug, please provide a screenshot of the bug or a link to a youtube video of the bug in action
   
   You can include images using the .md style of
   ![alt text](http://url/to/img.png)
   
   To record a screencast, mac users can use QuickTime and then create an unlisted youtube video with the resulting .mov file.
   
   --->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow-site] ashb commented on issue #361: Cannot select Airflow version on CLI and Macros Documentation

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #361:
URL: https://github.com/apache/airflow-site/issues/361#issuecomment-748449497


   Thanks Alan -- have moved this in to the 'airflow-site' repo.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow-site] mik-laj closed issue #361: Cannot select Airflow version on CLI and Macros Documentation

Posted by GitBox <gi...@apache.org>.
mik-laj closed issue #361:
URL: https://github.com/apache/airflow-site/issues/361


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow-site] mik-laj commented on issue #361: Cannot select Airflow version on CLI and Macros Documentation

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #361:
URL: https://github.com/apache/airflow-site/issues/361#issuecomment-748545981


   I confirm. I have this problem too. This issue appears to have been reported previously. See: https://github.com/apache/airflow-site/issues/254
   
   I took a quick look at it and it seems to me it is enough to make the following change to this problem, but I don't have time to check it and update all the files on docs-archive.
   https://github.com/apache/airflow-site/blob/11f9122db84d89ea0508ec8e3516e328c4df4158/landing-pages/src/js/progressTracking.js#L34
   ```diff
   -      targetElement = document.querySelector(`#${target}`);
   +      targetElement = document.getElementById(target);
   ```
   When an element has an ID that contains a dot symbol, the expression parser gets lost and cannot find the element because it starts interpreting part of the expression as [a class selector](https://developer.mozilla.org/pl/docs/Web/CSS/Selektor_klasy).
   @wolfier Can you see if this fixes this problem?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org