ballerina-dev-website icon indicating copy to clipboard operation
ballerina-dev-website copied to clipboard

Code `copy` icon only copies only the first line

Open HindujaB opened this issue 1 year ago • 3 comments

Description

$subject

Steps to reproduce

In the following sample https://ballerina.io/learn/manage-data-persistence-with-bal-persist/#try-the-service

When we click the copy icon to copy the code, it only copies the first line of it. It could be happening in other pages too.

Related website/documentation area

Add/Uncomment the relevant area label out of the following.

Related issue(s) (optional)

Any related issues such as sub tasks and issues reported in other repositories (e.g., component repositories), similar problems, etc.

Suggested label(s) (optional)

Optional comma-separated list of suggested labels. Non committers can’t assign labels to issues, and thereby, this will help issue creators who are not a committer to suggest possible labels.

Suggested assignee(s) (optional)

Optional comma-separated list of suggested team members who should attend the issue. Non committers can’t assign issues to assignees, and thereby, this will help issue creators who are not a committer to suggest possible assignees.

HindujaB avatar Oct 31 '23 06:10 HindujaB

Closing as the issue is fixed. Reopen if there are concerns.

anupama-pathirage avatar Aug 23 '24 15:08 anupama-pathirage

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

github-actions[bot] avatar Aug 23 '24 15:08 github-actions[bot]

Reopening as the issue is still there for terminal (bash) commands with multiple lines.

sm1990 avatar Aug 23 '24 16:08 sm1990

Hi. @keizer619 @sm1990 . I'm interested in taking up this issue

Ishad-M-I-M avatar Oct 01 '24 14:10 Ishad-M-I-M

Hi @Ishad-M-I-M You can work on this issue.

To help you get started, here are some essential resources:

  1. Understanding Ballerina Platform: Learn what Ballerina is all about: Ballerina Platform
  2. How to Contribute: Read our contributing guidelines to understand how you can contribute effectively: Contribution Guide
  3. Contributing to the Ballerina library: If you're interested in contributing to our library, here are the guidelines: Library Contribution Guide
  4. Learn Ballerina: If you're new to Ballerina or want to enhance your skills, our official website offers a wealth of learning resources: Learn Ballerina
  5. Get Help and Connect: Ask technical questions on Stack Overflow with with Ballerina tag and join our Discord community Ballerina Discord

keizer619 avatar Oct 02 '24 02:10 keizer619

Hi. @keizer619 @sm1990 . I'm interested in working on this issue.

Mannxxx avatar Oct 02 '24 09:10 Mannxxx

Hi @Ishad-M-I-M have you started working on this issue? Since you have picked up https://github.com/ballerina-platform/ballerina-dev-website/issues/6983 as well, shall we assign this to @Mannxxx ?

sm1990 avatar Oct 03 '24 03:10 sm1990

Hi @Ishad-M-I-M have you started working on this issue? Since you have picked up https://github.com/ballerina-platform/ballerina-dev-website/issues/6983 as well, shall we assign this to @Mannxxx ?

No problem

Ishad-M-I-M avatar Oct 03 '24 05:10 Ishad-M-I-M

Thank you @Ishad-M-I-M. @Mannxxx you can work on this. Ill assign it to you.

sm1990 avatar Oct 03 '24 06:10 sm1990

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

github-actions[bot] avatar Oct 03 '24 06:10 github-actions[bot]

@Mannxxx let me know if you have any questions.

sm1990 avatar Oct 03 '24 06:10 sm1990

Hi @Mannxxx , Any update on this issue?

sm1990 avatar Oct 07 '24 02:10 sm1990

Hi @Mannxxx,

FYA @Ishad-M-I-M is working on a related issue and has sent the following PR (https://github.com/ballerina-platform/ballerina-dev-website/pull/9550). He has updated the shiki version. Its still under review. I hope it doesn't conflict with your work. Let me know if there is any issue.

sm1990 avatar Oct 13 '24 06:10 sm1990

Hi @Mannxxx , Any update on this issue?

If there's no update can I work on this?.

Ishad-M-I-M avatar Oct 13 '24 16:10 Ishad-M-I-M

@Mannxxx have you started working on this. If not shall I assign it to @Ishad-M-I-M ?

sm1990 avatar Oct 16 '24 05:10 sm1990

@Ishad-M-I-M you can start working on this. i'll assign it to you.

sm1990 avatar Oct 17 '24 07:10 sm1990

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

github-actions[bot] avatar Oct 18 '24 03:10 github-actions[bot]