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

Attach link on a text layer #245

Open
M4ffra opened this issue Sep 20, 2024 · 0 comments
Open

Attach link on a text layer #245

M4ffra opened this issue Sep 20, 2024 · 0 comments

Comments

@M4ffra
Copy link

M4ffra commented Sep 20, 2024

Is your feature request related to a problem? Please describe.
Yes, it is. Currently, when using the Google Sheets Sync plugin in Figma, the functionality allows for the synchronization and replacement of text within text layers based on data from a Google Sheet. However, it lacks the capability to apply hyperlinks to specific text layers without replacing the existing text. This limitation makes it challenging to efficiently add interactive links, such as LinkedIn or Recruitee URLs, to multiple text layers in a streamlined and automated manner.

Describe the solution you'd like
I would like the Google Sheets Sync plugin to include a feature that allows users to apply hyperlinks to text layers in Figma without altering the existing text content. Specifically, the solution should enable the following:

Link Integration: Allow users to define URLs (e.g., LinkedIn, Recruitee) in separate columns within the Google Sheet.
Automated Linking: Upon synchronization, the plugin should automatically apply the specified URLs as clickable links to the corresponding text layers in Figma.
Layer Identification: Utilize unique identifiers (such as layer IDs or names) to accurately map and apply the correct URLs to each text layer.
Preservation of Text: Ensure that the original text remains unchanged, with only the linking functionality being added.
This enhancement would significantly streamline the workflow by automating the process of adding interactive links to designs, reducing manual effort and the potential for errors.

Describe alternatives you've considered
As alternatives to the desired feature, I have explored the following approaches:
Manual Linking: After synchronizing the text using the Google Sheets Sync plugin, manually adding hyperlinks to each text layer within Figma. This method is time-consuming and impractical for large projects.
Using Separate Link Layers: Creating separate invisible frames or hotspot layers over the text elements and manually assigning links to these layers. While this maintains the original text, it requires additional steps and careful alignment.
Custom Scripting: Developing a custom script using the Figma API to read data from Google Sheets and apply links to text layers. Although feasible, this requires programming knowledge and maintenance, which may not be ideal for all users.
Exploring Other Plugins: Investigating alternative plugins that offer more advanced linking capabilities. However, most available plugins either do not support automated linking based on external data or lack the necessary integration with Google Sheets.
None of these alternatives provide a fully automated and seamless solution, highlighting the need for the proposed feature within the Google Sheets Sync plugin.

Additional context
Integrating hyperlink functionality directly within the Google Sheets Sync plugin would greatly enhance its utility for designers who need to incorporate interactive elements into their prototypes efficiently. For instance, adding LinkedIn or Recruitee URLs to team member profiles within a design can be automated, ensuring consistency and saving valuable time.

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

No branches or pull requests

1 participant