Giter VIP home page Giter VIP logo

quick-aws-linker's Introduction

QuickAWS Linker

QuickAWS Linker is a Chrome extension that allows users to seamlessly navigate to the AWS Lambda console, CloudWatch logs, and X-Ray traces.

Usage Guide

Initial Setup

Set AWS Region

  • Upon installation, the Options page will automatically open, prompting you to set your desired AWS region.

Usage 1: Options Page Access

  1. Access the Options Page

    • This can be done through the browser's extension menu or by right-clicking the QuickAWS Linker icon.
  2. Enter Lambda Function Name or X-Ray Trace ID

    • Directly enter the desired Lambda function name or X-Ray trace ID.
    • Click the corresponding button to navigate to the Lambda Console, associated logs, or X-Ray trace.

Usage 2: Context Menu Access

  1. Select Text

    • Highlight the Lambda function name or X-Ray trace ID anywhere in Chrome, whether in an email, webpage, or another location.
  2. Navigate with the Context Menu

    • Right-click the highlighted text.
    • Hover over "QuickAWS Linker" in the context menu to reveal the available options.
      • Lambda Console: Redirects you to the code page of the selected Lambda function.
      • Lambda Logs: Navigates to the log streams page of the associated function.
      • X-Ray Trace: Opens the X-ray trace page for the selected trace ID.


Note: Always ensure that you're operating within your designated AWS region and possess the necessary permissions to access AWS services.

How to Install the Chrome Extension in Developer Mode

  1. Download the extension folder to your computer.
  2. Open Google Chrome and navigate to chrome://extensions/.
  3. Enable Developer mode by toggling the switch in the top right corner.
  4. Click on the Load unpacked button.
  5. Browse to the downloaded extension folder, select it, and click Open.
  6. The extension will now be installed in Developer mode.

For more information on using Chrome extensions in Developer mode, you can visit the Google Chrome Enterprise Help page.

Contributing

Contributions to this project are warmly welcomed! Please feel free to open an issue or submit a pull request.

quick-aws-linker's People

Contributors

shimo164 avatar

Stargazers

Serkan ÖZAL avatar

Watchers

 avatar

quick-aws-linker's Issues

X-ray cannot open from options page

Describe the bug

When press the xray button on the options page, error occurs.

  • the page chrome-extension://... opens with the message Your file couldn’t be accessedIt may have been moved, edited, or deleted. ERR_FILE_NOT_FOUND

Region setting: Require setting region on install / validation regex

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
This extension require users to set the region.
If the region is empty, it fails.

There is no validation inputting region so far.

Describe alternatives you've considered
Users have to go to options page by themselves.
Even when the region has a typo, save will success.

Set config options

Set configs from options page accessed from the extension icon.

  • Set region
  • Use files like optoins.html, popup.html

Remove X-ray enable button. Always on.

Describe the solution you'd like

X-ray should be used all the time. Therefore, the enable button is no longer required.
Remove the button, and functions.

Update README

  • Add the description for X-ray access
  • Consider changing name
  • Add the image and gif demos

Two tabs are created for right click context menu

Describe the bug
Errors in the extension menu

Unchecked runtime.lastError: Cannot create item with duplicate id share
Context
Unknown
Stack Trace
:0 (anonymous function)
Nothing to see here, move along.

Similar errors.

- Unchecked runtime.lastError: Cannot create item with duplicate id options
- Unchecked runtime.lastError: Cannot create item with duplicate id lambda-logs
-Unchecked runtime.lastError: Cannot create item with duplicate id lambda-console

To Reproduce
Right click from the context menu. But not happen everytime.

Expected behavior
No error

Screenshots
image

Limit actions until users set region.

Users have to set a region after install the extension.
But without this setting, users can try to open the console page, fail with invalid URL.
Therefore it's better to limit actions until users set region.

  • Hide menus if the region param is not set
  • The menu item 'Options' should be changed to like 'Options (required region setting)'
  • In option page, if the region is empty, highlight the message like *setting required*

style: Modify the options page

Describe the solution you'd like

  • Add css to Options page
  • Fix save messge. Save time are duplicated (below). Change to "Saved at (datetime)" will be fine.
Options saved at 6/15/2023, 6:30:45 AM
Value is set to ap-northeast-1
6/15/2023, 6:30:45 AM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.